/* Edit Profile Modal Styles */

.edit-profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-profile-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.edit-profile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.edit-profile-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.3s ease;
    z-index: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.edit-profile-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    color: #666;
}

.edit-profile-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.edit-profile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
    padding-right: 3rem;
}

/* Sections */
.edit-profile-section {
    margin-bottom: 1.75rem;
}

.edit-profile-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
}

/* Profile Photo Upload */
.profile-photo-upload-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.profile-photo-thumbnail-single {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #F1F2FF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-photo-thumbnail-single:hover {
    border-color: #2D37EE;
    box-shadow: 0 0 0 3px rgba(45, 55, 238, 0.1);
}

.profile-photo-thumbnail-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    padding: 1rem;
}

.btn-upload-photo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.9375rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-upload-photo:hover {
    background-color: #e0e0f5;
    border-color: #2D37EE;
    color: #2D37EE;
}

.btn-upload-photo svg {
    flex-shrink: 0;
}

/* Input Fields */
.edit-profile-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 1rem;
    color: #333;
    transition: all 0.2s;
    box-sizing: border-box;
}

.edit-profile-input:focus {
    outline: none;
    border-color: #2D37EE;
    background-color: #F1F2FF;
    box-shadow: 0 0 0 3px rgba(45, 55, 238, 0.1);
}

/* Gender Selector */
.gender-selector {
    display: flex;
    gap: 0.75rem;
}

.gender-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.gender-btn:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    background-color: #e0e0f5;
}

.gender-btn.active {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
}

/* Action Buttons */
.edit-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-save-profile {
    width: 100%;
    padding: 1rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save-profile:hover {
    background-color: #1e27cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 55, 238, 0.3);
}

.btn-logout-modal {
    width: 100%;
    padding: 1rem;
    background-color: #F1F2FF;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout-modal:hover {
    background-color: #e0e0f5;
    border-color: #ccc;
}

.link-delete-profile {
    display: block;
    text-align: center;
    padding: 0.75rem;
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.link-delete-profile:hover {
    color: #d32f2f;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .edit-profile-modal-content {
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .edit-profile-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .profile-photo-thumbnail-single {
        width: 100px;
        height: 100px;
    }
}



.edit-profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.edit-profile-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.edit-profile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.edit-profile-modal-content {
    position: relative;
    background-color: #fff;
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.3s ease;
    z-index: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.edit-profile-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    color: #666;
}

.edit-profile-modal-close:hover {
    background-color: #e0e0e0;
    color: #333;
}

.edit-profile-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
    padding-right: 3rem;
}

/* Sections */
.edit-profile-section {
    margin-bottom: 1.75rem;
}

.edit-profile-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.75rem;
}

/* Profile Photo Upload */
.profile-photo-upload-wrapper {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
}

.profile-photo-thumbnail-single {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    overflow: hidden;
    border: 3px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #F1F2FF;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-photo-thumbnail-single:hover {
    border-color: #2D37EE;
    box-shadow: 0 0 0 3px rgba(45, 55, 238, 0.1);
}

.profile-photo-thumbnail-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-placeholder {
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    padding: 1rem;
}

.btn-upload-photo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.9375rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.btn-upload-photo:hover {
    background-color: #e0e0f5;
    border-color: #2D37EE;
    color: #2D37EE;
}

.btn-upload-photo svg {
    flex-shrink: 0;
}

/* Input Fields */
.edit-profile-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 1rem;
    color: #333;
    transition: all 0.2s;
    box-sizing: border-box;
}

.edit-profile-input:focus {
    outline: none;
    border-color: #2D37EE;
    background-color: #F1F2FF;
    box-shadow: 0 0 0 3px rgba(45, 55, 238, 0.1);
}

/* Gender Selector */
.gender-selector {
    display: flex;
    gap: 0.75rem;
}

.gender-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    background-color: #F1F2FF;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.gender-btn:hover {
    border-color: #2D37EE;
    color: #2D37EE;
    background-color: #e0e0f5;
}

.gender-btn.active {
    background-color: #2D37EE;
    color: #fff;
    border-color: #2D37EE;
}

/* Action Buttons */
.edit-profile-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

.btn-save-profile {
    width: 100%;
    padding: 1rem;
    background-color: #2D37EE;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save-profile:hover {
    background-color: #1e27cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 55, 238, 0.3);
}

.btn-logout-modal {
    width: 100%;
    padding: 1rem;
    background-color: #F1F2FF;
    color: #333;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-logout-modal:hover {
    background-color: #e0e0f5;
    border-color: #ccc;
}

.link-delete-profile {
    display: block;
    text-align: center;
    padding: 0.75rem;
    color: #999;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.link-delete-profile:hover {
    color: #d32f2f;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .edit-profile-modal-content {
        padding: 1.5rem;
        max-width: 100%;
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .edit-profile-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .profile-photo-thumbnail-single {
        width: 100px;
        height: 100px;
    }
}


