/* Modern Form Styles for Profile Pages */
.profile-content {
    padding: 25px;
  
}

.profile-content_mini_title {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-content_title {
    color: #212529;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
}

.profile-content_title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background-color: #C5172E;
    border-radius: 3px;
}

.edit_account-content {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.pmb {
    padding: 0 15px;
    margin-bottom: 20px;
}

.input-content {
    width: 100%;
}

.input-content p {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.input-content input,
.input-content select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 15px;
    color: #495057;
    background-color: #fff;
    transition: all 0.2s ease;
}

.input-content input:focus,
.input-content select:focus {
    border-color: #C5172E;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

.input-content input::placeholder {
    color: #adb5bd;
}

/* Input active and validation states */
.input-content.input-active p {
    color: #C5172E;
}

.input-content.input-active input,
.input-content.input-active select {
    border-color: #C5172E;
    box-shadow: 0 0 0 3px rgba(179, 54, 54, 0.15);
}

.input-content input.is-invalid,
.input-content select.is-invalid {
    border-color: #dc3545;
}

.input-content input.is-invalid:focus,
.input-content select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
}

/* File input styling */
.fakeInput {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 15px;
    color: #495057;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    overflow: hidden;
}

.fakeInput:hover {
    background-color: #f8f9fa;
}

.fakeInput input[type="file"] {
    position: absolute;
    left: -9999px;
}

.fakeInput span {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #adb5bd;
}

.fakeInput i {
    margin-left: 10px;
    font-size: 18px;
    color: #6c757d;
}

/* File input selected state */
.fakeInput.has-file {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

.fakeInput span.file-selected {
    color: #28a745;
    font-weight: 600;
}

.fakeInput.has-file i {
    color: #28a745;
}

/* Button styling */
.edit_profile_button-content_area {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.login_button-content button {
    background-color: #C5172E;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login_button-content button:hover {
    background-color: #C5172E;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Loading state for buttons */
.login_button-content button:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    background-color: #6c757d;
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Number input - remove arrows */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none; 
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .profile-content {
        padding: 15px;
    }
    
    .profile-content_title {
        font-size: 20px;
    }
    
    .login_button-content button {
        width: 100%;
    }
    
    .edit_profile_button-content_area {
        justify-content: center;
    }
}

/* Tab styling */
.nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 20px;
    width: 100%;
}

.nav-tabs .nav-link {
    margin-bottom: -1px;
    border: 1px solid transparent;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    color: #495057;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

.nav-tabs .nav-link.active {
    color: #C5172E;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

.nav-tabs .nav-link:hover:not(.active) {
    background-color: #f8f9fa;
    border-color: #f8f9fa #f8f9fa #dee2e6;
}

/* Student Lessons Cards */
.studentLessons-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

.studentLessons-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.studentLessons-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.status-icon {
    position: absolute;
    top: 10px;
    right: 10px;
}

.status-circle {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.studentLessons-content {
    padding: 20px;
    flex-grow: 1;
}

.studentLessons-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #212529;
}

.studentLessons-content p {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.studentLessons-date {
    display: flex;
    align-items: center;
    color: #495057;
    font-size: 14px;
    margin-bottom: 12px;
}

.studentLessons-date i {
    margin-right: 8px;
    color: #C5172E;
}

.studentLessonsTeacher {
    text-decoration: none;
    color: #495057;
}

.studentLessonsTeacher img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
    border: 2px solid #f8f9fa;
}

.studentLessonsTeacher span {
    font-weight: 600;
}

.studentLessons-footer {
    border-top: 1px solid #f1f1f1;
    padding: 15px 20px;
}

.studentLessons-btn {
    display: inline-block;
    color: #C5172E;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.studentLessons-btn i {
    margin-right: 5px;
}

.studentLessons-btn:hover {
    color: #0056b3;
}

.studentLessons-btn.disabled {
    color: #adb5bd;
    cursor: not-allowed;
}

.studentLessons-cancelButton {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.9;
    transition: all 0.2s ease;
}

.studentLessons-cancelButton:hover {
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Modal styling */
.modal-content {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 20px;
}

.modal-header .modal-title {
    font-weight: 700;
    color: #212529;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    border-top: 1px solid #f1f1f1;
    padding: 15px 20px;
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.btn-danger {
    background-color: #dc3545;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
    margin-top: 20px;
}

.page-item:first-child .page-link {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.page-item:last-child .page-link {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.page-item.active .page-link {
    background-color: #C5172E;
    border-color: #C5172E;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    background-color: #fff;
    border-color: #dee2e6;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #C5172E;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.page-link:hover {
    z-index: 2;
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .studentLessons-image {
        height: 150px;
    }
    
    .studentLessons-content {
        padding: 15px;
    }
    
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

/* Messages Page Styling */
.messages_contents-content {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 80vh;
    min-height: 600px;
    margin-bottom: 30px;
}

/* Left side - Conversation list */
.messages_contents_left {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-right: 1px solid #f0f0f0;
}

.messages_contents_left_title {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.messages_contents_left_bottom {
    flex: 1;
    overflow-y: auto;
}

.messages_contents_left_searchLine {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.messages_contents_left_searchLine input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 20px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
}

.messages_contents_left_searchLine input:focus {
    border-color: #C5172E;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.15);
}

.messages_contents_left_searchLine button {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 14px;
}

.messages_contents_left_line {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.messages_contents_left_line:hover {
    background-color: #f8f9fa;
}

.messages_contents_left_line.active {
    background-color: #f0f7ff;
}

.messages_contents_left_line_image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin-right: 15px;
    border: 2px solid #f0f0f0;
    flex-shrink: 0;
}

.messages_contents_left_line_center {
    flex: 1;
    min-width: 0;
}

.messages_contents_left_line_center h3 {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages_contents_left_line_center h3 i {
    font-size: 10px;
    color: #28a745;
    margin-right: 5px;
}

.messages_contents_left_line_center h4 {
    font-size: 13px;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.messages_contents_left_line_btn {
    color: #6c757d;
    margin-left: 10px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
}

.messages_contents_left_line:hover .messages_contents_left_line_btn {
    visibility: visible;
    opacity: 1;
}

.messages_contents_left_line_btn i {
    font-size: 14px;
    color: #dc3545;
    cursor: pointer;
}

/* Right side - Chat area */
.messages_contents_right_title {
    padding: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    border-bottom: 1px solid #f0f0f0;
    background-color: #f8f9fa;
}

.messages_contents_right_center {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f5f7fb;
    height: calc(100% - 140px);
}

.message_box-content {
    display: flex;
    margin-bottom: 20px;
    max-width: 70%;
}

.message_box-content.sender_message {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message_box_image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 10px;
    flex-shrink: 0;
}

.message_box_contents {
    background-color: #fff;
    border-radius: 15px;
    padding: 12px 15px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    position: relative;
}

.sender_message .message_box_contents {
    background-color: #C5172E;
    color: white;
}

.message_box_text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    word-break: break-word;
}

.message_box_contents span {
    font-size: 11px;
    color: #6c757d;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.sender_message .message_box_contents span {
    color: rgba(255, 255, 255, 0.8);
}

.messages_contents_right_bottom {
    padding: 15px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.messages_contents_right_bottom input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 25px;
    font-size: 14px;
    color: #495057;
    transition: all 0.2s ease;
    margin-right: 10px;
}

.messages_contents_right_bottom input:focus {
    border-color: #C5172E;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.15);
}

.messages_contents_right_bottom button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #6c757d;
    padding: 0 15px;
    transition: all 0.2s ease;
}

.messages_contents_right_bottom button:hover {
    color: #C5172E;
}

.messages_contents_right_bottom button#sendMessageBtn {
    background-color: #C5172E;
    color: white;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.messages_contents_right_bottom button#sendMessageBtn:hover {
    background-color: #a41325;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(197, 23, 46, 0.2);
}

/* Message attachments styling */
.message_box_image_content_box {
    margin-bottom: 10px;
}

.message_box_image_content {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.message_box_image_content:hover {
    opacity: 0.9;
}

.message_box_file_content {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
}

.sender_message .message_box_file_content {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.message_box_file_content a {
    color: #C5172E;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
}

.sender_message .message_box_file_content a {
    color: white;
}

.message_box_file_content a i {
    margin-right: 5px;
}

.message_box_file_content a:hover {
    text-decoration: underline;
}

/* Custom scrollbar for chat */
.custom_scroll::-webkit-scrollbar {
    width: 6px;
}

.custom_scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom_scroll::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.custom_scroll::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Responsive adjustments for messages */
@media (max-width: 992px) {
    .mh10p0 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .messages_contents-content {
        flex-direction: column;
        height: auto;
    }
    
    .messages_contents_left {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        max-height: 400px;
    }
    
    .messages_contents_right_center {
        height: 400px;
    }
    
    .message_box-content {
        max-width: 85%;
    }
}

/* Student Packages Styling */
.package-card {
    position: relative;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.package-card.featured {
    border: 2px solid #C5172E;
}

.package-header {
    padding: 25px 20px 15px;
    background-color: #f8f9fa;
    position: relative;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.featured .package-header {
    background-color: rgba(197, 23, 46, 0.05);
}

.package-header h3 {
    margin: 10px 0;
    font-size: 20px;
    font-weight: 700;
    color: #212529;
}

.featured-badge-student-packets {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #C5172E;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 0 0 0 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.credits-student-packets {
    display: inline-block;
    background-color: #f1f1f1;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-top: 5px;
}

.featured .credits-student-packets {
    background-color: #C5172E;
    color: white;
}

.package-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 14px;
    color: #6c757d;
    display: flex;
    align-items: flex-start;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    color: #28a745;
    margin-right: 10px;
    margin-top: 4px;
    font-size: 12px;
}

.featured .package-features li i {
    color: #C5172E;
}

.package-footer {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.package-price {
    font-size: 14px;
    margin-bottom: 15px;
    color: #495057;
}

.package-price .amount {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
}

.featured .package-price .amount {
    color: #C5172E;
}

.btn-purchase-student-packets {
    display: inline-block;
    background-color: #C5172E;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    text-align: center;
}

.btn-purchase-student-packets:hover {
    background-color: #a41325;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 23, 46, 0.2);
}

/* Package Tabs Styling Enhancement */
#packageTabs {
    border-bottom: 2px solid #f0f0f0;
    gap: 10px;
    margin-bottom: 30px;
}

#packageTabs .nav-link {
    border: none;
    font-weight: 600;
    padding: 12px 25px;
    color: #6c757d;
    position: relative;
    background-color: transparent;
    transition: all 0.2s ease;
}

#packageTabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #C5172E;
    transition: all 0.3s ease;
}

#packageTabs .nav-link.active {
    color: #C5172E;
    background-color: transparent;
}

#packageTabs .nav-link.active:after {
    width: 100%;
}

#packageTabs .nav-link:hover:not(.active) {
    color: #495057;
}

#packageTabsContent {
    margin-top: 30px;
}

/* Empty state styling */
.empty-packages {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

.empty-packages i {
    font-size: 50px;
    color: #dee2e6;
    margin-bottom: 15px;
}

.empty-packages p {
    font-size: 16px;
    margin-bottom: 5px;
}

.empty-packages small {
    font-size: 14px;
    opacity: 0.7;
}

/* Package comparison tooltip */
.package-comparison {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #f8f9fa;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-comparison i {
    color: #6c757d;
    font-size: 12px;
}

.package-comparison:hover {
    background-color: #e9ecef;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .package-card {
        margin-bottom: 20px;
    }
    
    .package-header {
        padding: 20px 15px 10px;
    }
    
    .package-header h3 {
        font-size: 18px;
    }
    
    .package-features li {
        font-size: 13px;
    }
    
    .package-price .amount {
        font-size: 20px;
    }
    
    #packageTabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
}

.original-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 16px;
    margin-right: 8px;
    display: inline-block;
}

.featured .package-comparison i {
    color: #C5172E;
}

.package-card.featured .package-comparison {
    background-color: #fff;
}

/* Discount badge */
.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #28a745;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 1;
}

.featured .discount-badge {
    right: auto;
    left: 10px;
}

/* Package hover effects */
.package-card:hover .package-header {
    transform: translateY(-5px);
}

.package-card:hover .btn-purchase-student-packets {
    padding-right: 30px;
}

.btn-purchase-student-packets::after {
    content: '→';
    position: absolute;
    right: 20px;
    opacity: 0;
    transition: all 0.2s ease;
}

.btn-purchase-student-packets {
    position: relative;
}

.package-card:hover .btn-purchase-student-packets::after {
    opacity: 1;
}

/* Empty states improvements */
.empty-packages i {
    display: block;
    background-color: #f8f9fa;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Teacher Profile Styling */
.custom_profile_sidebar {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 25px 0;
    overflow: hidden;
    height: 100%;
    position: sticky;
    top: 20px;
}

.custom_profile_sidebar_image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background-size: cover;
    background-position: center;
    border: 4px solid #f8f9fa;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.custom_profile_sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
    text-align: center;
    margin-bottom: 5px;
}

.custom_profile_sidebar h4 {
    font-size: 14px;
    color: #6c757d;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 500;
}

.custom_profile_sidebar_group {
    padding: 15px 0;
    margin: 0 20px;
}

.custom_profile_sidebar_group h4 {
    font-size: 12px;
    font-weight: 700;
    color: #adb5bd;
    margin-bottom: 15px;
    text-align: left;
    letter-spacing: 0.5px;
}

.menu_iconbox_line, 
.custom_profile_sidebar_group a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 8px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.menu_iconbox_line:hover,
.custom_profile_sidebar_group a:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    color: #C5172E;
}

.menu_iconbox_line_selected {
    color: #C5172E !important;
    background-color: rgba(197, 23, 46, 0.05);
    padding-left: 10px !important;
    font-weight: 600;
}

.menu_iconbox_icon {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 15px;
    color: inherit;
    background-color: #f8f9fa;
    transition: all 0.2s ease;
}

.menu_iconbox_line_selected .menu_iconbox_icon {
    background-color: #C5172E;
    color: white;
}

.menu_iconbox_text {
    flex: 1;
    font-size: 14px;
    position: relative;
}

.menu_iconbox_notification_count {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #C5172E;
    color: white;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    font-weight: 600;
}

/* Teacher form styles */
.biography-input textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    color: #495057;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s ease;
}

.biography-input textarea:focus {
    border-color: #C5172E;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.15);
}

.video-upload-container {
    display: flex;
    flex-direction: column;
}

.VideoIndroduce {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.VideoIndroduce:hover {
    background-color: #f1f3f5;
    border-color: #adb5bd;
}

.grayIconGenerate {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 20px;
    transition: all 0.2s ease;
}

.VideoIndroduce:hover .grayIconGenerate {
    background-color: #C5172E;
    color: white;
}

#videoPreviewContainer {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
}

#videoPreview {
    width: 100%;
    border-radius: 8px;
}

.video-delete-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(220, 53, 69, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-delete-btn:hover {
    background-color: #dc3545;
    transform: scale(1.1);
}

/* Multiple select styling */
.multipleSelectOuter {
    margin-bottom: 10px;
}

.multipleSelectOuter p {
    font-size: 14px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.ms-parent {
    width: 100% !important;
}

.ms-choice {
    height: 45px;
    line-height: 45px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    color: #495057;
    padding: 0 15px;
    background-color: #fff;
}

.ms-choice:focus {
    border-color: #C5172E;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(197, 23, 46, 0.15);
}

.ms-choice > span.placeholder {
    color: #adb5bd;
}

.ms-choice > div.icon-caret {
    right: 15px;
}

.ms-drop {
    border: 1px solid #ced4da;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ms-drop ul {
    padding: 10px;
}

.ms-drop ul > li label {
    padding: 8px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ms-drop ul > li label:hover {
    background-color: #f8f9fa;
}

.ms-drop ul > li label.selected {
    background-color: rgba(197, 23, 46, 0.05);
}

.ms-drop ul > li label input {
    margin-right: 8px;
}

/* Mobile responsiveness */
@media (max-width: 991px) {
    .custom_profile_sidebar {
        margin-bottom: 30px;
        position: relative;
        top: 0;
    }
}

/* Global Styles */
:root {
    --primary-color: #4c84ff;
    --secondary-color: #f8f9fa;
    --danger-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --text-color: #333;
    --light-text: #888;
    --border-color: #e0e0e0;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --sidebar-width: 250px;
    --sidebar-collapsed-width: 80px;
    --header-height: 70px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: #f5f7fb;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Layout */
.page-wrapper {
    display: flex;
    position: relative;
    min-height: 100vh;
    transition: all var(--transition-speed);
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    background: #fff;
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100%;
    transition: width var(--transition-speed);
    z-index: 100;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
}

.sidebar-header .logo img {
    margin-right: 10px;
}

.sidebar-header .logo h2 {
    font-size: 1.2rem;
    font-weight: 600;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--light-text);
    font-size: 1.2rem;
}

.sidebar-nav {
    padding: 20px 0;
}

.sidebar-nav ul li {
    margin-bottom: 5px;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--light-text);
    transition: all 0.3s;
}

.sidebar-nav ul li a i {
    margin-right: 10px;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.sidebar-nav ul li.active a {
    background-color: rgba(76, 132, 255, 0.1);
    color: var(--primary-color);
    border-left: 3px solid var(--primary-color);
}

.sidebar-nav ul li:hover a {
    background-color: rgba(76, 132, 255, 0.05);
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    transition: margin-left var(--transition-speed);
    overflow: hidden;
}

/* Header */
.page-header {
    height: var(--header-height);
    background-color: #fff;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-header h1 {
    font-size: 1.5rem;
    font-weight: 500;
}

.user-menu {
    display: flex;
    align-items: center;
}

.notifications {
    position: relative;
    margin-right: 20px;
    cursor: pointer;
}

.notifications i {
    font-size: 1.2rem;
    color: var(--light-text);
}

.notifications .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-info {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-info span {
    font-weight: 500;
}

/* Content Area */
.content-wrapper {
    padding: 30px;
}

.page-title {
    margin-bottom: 25px;
}

.page-title h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.page-title p {
    color: var(--light-text);
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin: 0;
}

.card-body {
    padding: 30px;
}

/* Form Elements */
.form-section {
    margin-bottom: 40px;
}

.form-section h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: var(--text-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 132, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

/* Profile Photo */
.profile-photo-container {
    text-align: center;
    margin-bottom: 20px;
}

.profile-photo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background-color: #f0f2f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#photo-preview {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 0;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
}

.profile-photo:hover .photo-upload {
    opacity: 1;
}

/* Password Strength */
.password-strength {
    margin-top: 10px;
}

.password-strength-meter {
    height: 5px;
    background-color: #f0f2f5;
    border-radius: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}

.password-strength-meter .progress-bar {
    height: 100%;
    width: 0;
    border-radius: 5px;
    transition: width 0.3s, background-color 0.3s;
}

.password-strength-text {
    font-size: 0.8rem;
    color: var(--light-text);
}

/* Document Upload */
.document-upload-container {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    position: relative;
    background-color: #f9fafc;
    transition: border-color 0.3s;
}

.document-upload-container:hover {
    border-color: var(--primary-color);
}

.document-upload-icon {
    color: var(--light-text);
}

.document-upload-icon i {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.document-upload-icon p {
    margin-bottom: 15px;
}

.document-preview {
    margin-top: 15px;
    display: none;
}

/* Video Upload */
.video-upload-container {
    margin-bottom: 20px;
}

.video-upload {
    text-align: center;
    margin-bottom: 15px;
}

.video-help-text {
    display: block;
    margin-top: 10px;
    color: var(--light-text);
    font-size: 0.85rem;
}

.video-preview {
    position: relative;
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #000;
}

#video-player {
    width: 100%;
    max-height: 300px;
}

.file-preview-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.file-preview-remove:hover {
    background-color: var(--danger-color);
}

/* Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: #f5f7fb;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #3a70e3;
}

/* Loading Overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(76, 132, 255, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
}

.toast {
    padding: 15px 25px 15px 15px;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: inherit!important;
    align-items: center;
    min-width: 300px;
    max-width: 400px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--light-gray);
}

.toast-header i {
    margin-right: 8px;
}

.toast-header .toast-title {
    font-weight: 600;
    flex: 1;
}

.toast-header .toast-close {
    background: none;
    border: none;
    color: var(--dark-gray);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.toast-body {
    padding: 12px 15px;
}

.toast-success {
    border-left: 4px solid var(--success-color);
}

.toast-success i {
    color: var(--success-color);
}

.toast-error {
    border-left: 4px solid var(--danger-color);
}

.toast-error i {
    color: var(--danger-color);
}

.toast-warning {
    border-left: 4px solid var(--warning-color);
}

.toast-warning i {
    color: var(--warning-color);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .sidebar {
        width: 64px;
        overflow: hidden;
    }
    
    .sidebar-header h3 {
        display: none;
    }
    
    .sidebar-menu li a span {
        display: none;
    }
    
    .sidebar-menu li a i {
        margin-right: 0;
        font-size: 1.25rem;
    }
    
    .main-content {
        margin-left: 64px;
    }
    
    .sidebar-footer {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .sidebar {
        width: 0;
        overflow: hidden;
    }
    
    .main-content {
        margin-left: 0;
    }
} 