/*
    PROFILE EDITOR STYLES
    - Responsive modal for user profile editing.
    - Glassmorphism aesthetic.
*/

.profile-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2147483647;
    /* MAX SAFE INTEGER */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.profile-modal-box {
    width: 400px;
    max-width: 90%;
    padding: 25px;
    background: rgba(18, 18, 18, 0.98);
    border: 1px solid #FFD700;
    border-radius: 16px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transform: translateY(0);
    animation: modalPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.profile-textarea {
    width: 100%;
    background: #222;
    color: #eee;
    border: 1px solid #444;
    padding: 12px;
    border-radius: 8px;
    resize: none;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    box-sizing: border-box;
}

.profile-textarea:focus {
    outline: none;
    border-color: #FFD700;
}

.profile-btn-row {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-modal {
    padding: 10px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: transform 0.1s;
}

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

.btn-cancel {
    background: #333;
    color: #ccc;
}

.btn-save {
    background: #FFD700;
    color: #111;
}