:root {
    --brand-color: #8b90ff;
    --base-color: #f2f4f8;
    --surface-color: #fff;
    --text-color: #191b23;
    --secondary-text-color: #3c404f;
    --base-transparent-90: rgba(247, 247, 247, 0.9);
    --base-transparent-100: rgba(247, 247, 247, 1);
}

dialog {

    margin: auto;
    inset: 0;
    border: none;
    border-radius: 1rem;
    padding: 0;
    background: var(--surface-color);
    color: var(--text-color);
    max-width: 600px;
    width: 90vw;
    overflow: hidden;
    overscroll-behavior-y: contain;
}

dialog::backdrop {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
}

.dialog-content {
    padding: 2rem;
}

.dialog-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1.5rem;
    /* background-color: #4c9fb1; */

}

.dialog-title {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: left;
    /* background-color: #8b90ff; */
}

.dialog-body {
    padding: 0.25rem 0.75rem;
    margin: auto;
    color: var(--color-light);
    /* background-color: var(--bg-color-light); */
    background-color: transparent;
}

.close-btn {
    display: flex;
    /* Enables flexbox layout for the button's children */
    justify-content: center;
    /* Centers content horizontally along the main axis */
    align-items: center;
    /* Centers content vertically along the cross axis */
    padding: 0;
    /* Optional: Remove default button padding for full control */
    border: none;
    /* Optional: Customize border */
    background-color: var(--bg-color-dark);
    /* Optional: Customize background */
    color: var(--lightgreen-color);
    /* Optional: Sets the color for the SVG if using currentColor */
    width: 40px;
    /* Optional: Set a fixed size for a square button */
    /* height: 40px; */
    /* Optional: Set a fixed size for a square button */
    aspect-ratio: 1;
    cursor: pointer;
    /* Optional: Adds a pointer cursor */
}

.close-btn:hover {
    background: var(--surface-color);
}

.progress-container {
    width: 100%;
    background-color: #f3f3f3;
    /* max-width: 240px; */
    margin-block: 0.25rem;
    border-radius: 100rem;
}

.progress-bar {
    width: 0%;
    height: 30px;
    background-color: #4c9fb1;
    text-align: center;
    line-height: 30px;
    color: white;
}

.status {
    margin-top: 10px;
}

.form-group {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: var(--bg-color-light);
    color: var(--color-light);
    padding: 0.25rem;
    border-radius: 0.75rem;
}

.form-group input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--surface-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group button {
    flex: 0;
    margin-inline: auto;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background: none;
    color: white;
    white-space: nowrap;
}