:root {
    --transition-speed: 0.3s;
    --sidebar-width: 240px;
  --sidebar-width-collapsed: 80px;
    
    --green-progress: #16a34a;
    --primary-color: #16a34a;

}


  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }


/* Profile page container */
.profile-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.profile-left-column {
    flex: 1;
    min-width: 300px;
}

.profile-right-column {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Profile Sections */
.profile-section {
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 24px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed);
}

.profile-right-column .profile-section {
    margin-bottom: 0;
    flex: 1;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
    transition: all var(--transition-speed);
}

/* Form Layout */
.row {
    display: flex;
    margin: 0 -10px;
    flex-wrap: wrap;
}

.col-md-6 {
    width: 50%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #555;
    transition: color var(--transition-speed);
}

.required::after {
    content: "*";
    color: #e53935;
    margin-left: 4px;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f5f5f7;
    font-size: 14px;
    color: #333;
    transition: all var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.1);
}

.form-control::placeholder {
    color: #999;
}

/* Input Icons */
.input-icon {
    position: absolute;
    right: 15px;
    top: 38px;
    color: #888;
    font-size: 16px;
    transition: color var(--transition-speed);
}

/* Profile Avatar Section */
.profile-avatar {
    
    position: relative;
    margin-bottom: 30px;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed);
}

.avatar-edit {
    position: absolute;
    right: 2px;
    bottom: 2px;
    background-color: #f5f5f7;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #fff;
    transition: all var(--transition-speed);
}

.avatar-edit:hover {
    background-color: #e8e8e8;
}

.avatar-edit i {
    color: #555;
    font-size: 14px;
    transition: color var(--transition-speed);
}

/* Button Styles */
.btn {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #000;
    color: #fff;
}

.btn-primary:hover {
    background-color: #333;
}

/* Save Button Container */
.save-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

/* Social Media Icons */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #f5f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 15px;
    top: 38px;
    transition: background-color var(--transition-speed);
}

.social-icon i {
    font-size: 18px;
}

.facebook-icon {
    color: #1877F2;
}

.linkedin-icon {
    color: #0A66C2;
}

.skype-icon {
    color: #00AFF0;
}

/* Password Field Icons */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 38px;
    color: #888;
    cursor: pointer;
    transition: color var(--transition-speed);
}

.password-toggle:hover {
    color: #555;
}

/* Animation for Save Button */
@keyframes saveSuccess {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.save-success {
    animation: saveSuccess 0.5s ease-in-out;
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

body.dark-mode .profile-section {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .section-title {
    color: #e0e0e0;
    border-bottom-color: #333;
}

body.dark-mode .form-label {
    color: #bbb;
}

body.dark-mode .form-control {
    background-color: #333;
    border-color: #444;
    color: #e0e0e0;
}

body.dark-mode .form-control::placeholder {
    color: #777;
}

body.dark-mode .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

body.dark-mode .input-icon,
body.dark-mode .password-toggle {
    color: #aaa;
}

body.dark-mode .input-icon:hover,
body.dark-mode .password-toggle:hover {
    color: #ddd;
}

body.dark-mode .avatar-img {
    border-color: #333;
}

body.dark-mode .avatar-edit {
    background-color: #333;
    border-color: #1e1e1e;
}

body.dark-mode .avatar-edit:hover {
    background-color: #444;
}

body.dark-mode .avatar-edit i {
    color: #e0e0e0;
}

body.dark-mode .btn-primary {
    background-color: var(--primary-color);
}

body.dark-mode .btn-primary:hover {
    background-color: #0f8a3c;
}

body.dark-mode .social-icon {
    background-color: #333;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
 

    .profile-container {
        flex-direction: column;
        gap: 15px;
      
    }

    .profile-left-column,
    .profile-right-column {
        width: 100%;
    }

    .profile-section {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 10px;
    }

    .profile-right-column .profile-section:last-child {
        margin-bottom: 0;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .row {
        display: block;
        margin: 0;
    }

    .col-md-6 {
        width: 100%;
        padding: 0;
    }

    .form-control {
        height: 40px;
        font-size: 13px;
    }

    .form-label {
        font-size: 13px;
    }

    .btn {
        width: 100%;
        padding: 12px;
    }

    .save-container {
        margin-top: 15px;
    }

    .avatar-img {
        width: 90px;
        height: 90px;
    }

    .input-icon,
    .password-toggle,
    .social-icon {
        top: 36px;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 375px) {
    .profile-section {
        padding: 12px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .avatar-img {
        width: 80px;
        height: 80px;
    }

    .avatar-edit {
        width: 28px;
        height: 28px;
    }
}






/* @media (max-width: 768px) {
  
    body {
        overflow-x: hidden;
    }

   
    main, 
    [class*="main-content"],
    .main-content,
    .content-wrapper,
    .main-panel {
        margin-left: 0 !important;
        padding-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    
    .container,
    .container-fluid {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}





 */
