:root {
    --brand-wine: #5c2444;
    --brand-maroon: #7E0E17;
    --brand-pink: #8a3a63;
    --brand-gold: #d4a862;
    --brand-cream: #FBF7F9;
}

.profile-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(94, 20, 45, 0.25);
    background: var(--brand-cream);
}


.mala-strip span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-gold);
    opacity: 0.9;
}

.profile-modal-body {
    padding: 48px 44px 40px;
}

.profile-modal-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 168, 98, 0.18), rgba(126, 14, 23, 0.12));
    color: var(--brand-maroon);
}

.profile-modal-title {
    font-weight: 700;
    color: var(--brand-wine);
    margin-bottom: 12px;
}

.profile-modal-text {
    color: #6b6b6b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 28px;
}

.profile-modal-btn-primary {
    display: block;
    width: 100%;
    padding: 12px 0;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--brand-maroon), var(--brand-wine));
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.profile-modal-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(126, 14, 23, 0.3);
}

.profile-modal-btn-secondary {
    display: block;
    width: 100%;
    padding: 11px 0;
    border-radius: 10px;
    border: 1px solid #e2d5da;
    background: transparent;
    color: #8a8a8a;
    font-weight: 500;
}

.profile-modal-btn-secondary:hover {
    background: #f5eef1;
    color: var(--brand-wine);
}




/* Desktop base width */
.profile-modal-content {
    /* existing rules stay exactly as-is */
}

#completeProfileModal .modal-dialog {
    max-width: 480px;
}

/* ============================= */
/* Responsive overrides — append-only, do not edit rules above */
/* ============================= */

@media (max-width: 991.98px) {
    #completeProfileModal .modal-dialog {
        max-width: 420px;
    }

    .profile-modal-body {
        padding: 40px 34px 32px;
    }
}

@media (max-width: 767.98px) {
    #completeProfileModal .modal-dialog {
        max-width: 90%;
        margin: 1.75rem auto;
    }

    .profile-modal-body {
        padding: 36px 26px 28px;
    }

    .profile-modal-icon {
        width: 64px;
        height: 64px;
    }

    .profile-modal-title {
        font-size: 1.25rem;
    }

    .profile-modal-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #completeProfileModal .modal-dialog {
        max-width: 94%;
        margin: 1rem auto;
    }

    .mala-strip span {
        width: 6px;
        height: 6px;
        gap: 8px;
    }

    .profile-modal-body {
        padding: 30px 20px 24px;
    }

    .profile-modal-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }
}