
.profile-content-wrapper {
    background-color: #fff;
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    gap: 30px;
}

/* Mobile Sidebar Toggle Button */
.mobile-sidebar-toggle {
    display: none;
    position: fixed;
    top: 80px;
    left: 15px;
    z-index: 1000;
    background: linear-gradient(135deg, #00C7C4 0%, #0099a8 100%);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 199, 196, 0.3);
    transition: all 0.3s ease;
    align-items: center;
    gap: 8px;
}

.mobile-sidebar-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 199, 196, 0.4);
}

.mobile-sidebar-toggle i {
    font-size: 18px;
}

/* Sidebar Overlay for Mobile */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.show {
    opacity: 1;
}

/* Sidebar Close Button */
.sidebar-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
    transition: color 0.3s ease;
}

.sidebar-close:hover {
    color: #ff3b3b;
}

/* Sidebar Styles */
.profile-sidebar {
    width: 300px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 30px 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.profile-avatar {
    text-align: center;
    margin-bottom: 25px;
}

.avatar-circle {
    width: 100px;
    height: 100px;
    background: #e8f4f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 36px;
    font-weight: 600;
    color: #00C7C4;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.profile-button {
    background: #ff3b3b;
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-button:hover {
    background: #e02d2d;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #666;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #fff0f0;
    color: #ff3b3b;
}

.sidebar-menu a i {
    font-size: 20px;
    margin-right: 12px;
    width: 25px;
    text-align: center;
}

/* Main Content Area */
.profile-main-content {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 35px;
}

.profile-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e8e8e8;
}

.profile-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.info-label {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.info-value {
    font-size: 15px;
    color: #666;
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-icon {
    color: #ff3b3b;
}

.default-badge {
    background: #e8f4f8;
    color: #00C7C4;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 8px;
}

.password-dots {
    letter-spacing: 3px;
    font-size: 18px;
}

.change-button {
    background: #e8e8e8;
    color: #333;
    border: none;
    padding: 8px 25px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-button:hover {
    background: #d8d8d8;
}

/* Form Styles */
.profile-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00C7C4;
    box-shadow: 0 0 0 3px rgba(0, 199, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input[readonly] {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

.update-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
}

.update-button {
    background: linear-gradient(135deg, #00C7C4 0%, #0099a8 100%);
    color: #fff;
    border: none;
    padding: 14px 50px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 199, 196, 0.3);
}

.update-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 199, 196, 0.4);
}

.update-button:active {
    transform: translateY(0);
}

.section-divider {
    margin: 30px 0;
    border: none;
    border-top: 2px solid #f0f0f0;
}

.section-heading {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00C7C4;
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .profile-container {
        flex-direction: column;
    }

    /* Show mobile toggle button */
    .mobile-sidebar-toggle {
        display: flex;
    }

    /* Show overlay when active */
    .sidebar-overlay.show {
        display: block;
    }

    /* Show close button on mobile */
    .sidebar-close {
        display: block;
    }

    /* Hide sidebar by default on mobile */
    .profile-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        overflow-y: auto;
        z-index: 1050;
        transition: left 0.3s ease;
        border-radius: 0;
        padding-top: 60px;
    }

    /* Show sidebar when toggled */
    .profile-sidebar.show {
        left: 0;
    }

    /* Adjust main content padding for toggle button */
    .profile-main-content {
        margin-top: 60px;
    }
}

@media (max-width: 576px) {
    .profile-main-content {
        padding: 20px;
    }

    .profile-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .change-button {
        align-self: flex-start;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .update-button {
        width: 100%;
    }

    .mobile-sidebar-toggle {
        top: 70px;
        left: 10px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .profile-sidebar {
        width: 85%;
        max-width: 280px;
    }
}