/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.4);
    /* Dark Chocolate tint */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: var(--card-bg);
    border: none;
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    width: 450px;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.hidden .modal-content {
    transform: scale(0.9);
}

.modal-content h2 {
    font-family: 'Kefa', serif;
    font-size: 24px;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: 1px;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Secondary Button Style for Color Options */
.color-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 150px;
}

.color-btn:hover {
    background: rgba(102, 35, 80, 0.05);
    /* Slight tint of secondary */
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(102, 35, 80, 0.15);
}

.color-btn:active {
    transform: scale(0.95);
}

.color-btn img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.color-btn span {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Setup Options */
.option-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.option-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option-btn {
    background: transparent;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.option-btn small {
    font-size: 12px;
    opacity: 0.8;
    font-weight: 400;
}

.option-btn:hover {
    background: rgba(102, 35, 80, 0.05);
    transform: translateY(-2px);
}

.option-btn:active {
    transform: scale(0.96);
}

.btn-text {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 14px;
    opacity: 0.6;
    margin-top: 20px;
    text-decoration: underline;
    cursor: pointer;
}

.hidden {
    display: none !important;
}