.profile-nav {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--br-16);
    padding: 18px 16px;
    display: grid;
    gap: 6px;

    .nav-section-header {
        font-weight: normal;
        margin-top: 12px;
        color: #4b443b;
        padding-bottom: 6px;
        border-bottom: 1px solid var(--border-color);
    }

    .profile-item {
        border-radius: 8px;
        transition: all 0.2s ease-in-out;
        padding: 6px 12px;

        a {
            display: block;
            align-items: center;
            color: var(--secondary-color-2);
            width: 100%;

            .uk-icon {
                color: #4b443b;
                width: 24px;
                margin-right: 6px;
            }
        }

        &:hover {
            display: flex;
            background-color: var(--bg-light-10);
        }
    }

    .profile-item-last a {
        border-bottom: none;
    }

    .uk-active {
        display: flex;
        background-color: var(--bg-light-10);

        a {
            font-weight: 600;
        }
    }
}

@media (min-width: 960px) {
    .uk-width-2-6\@m {
        width: 20%;
    }
}

.uk-offcanvas-bar .profile-nav {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.profile-container {
    background-color: var(--bg-light-9);
    border: 1px solid var(--border-color);
    border-radius: var(--br-16);
    padding: 26px 24px;

    @include s {
        padding: 1rem;
    }

    .profile-header {
        h2 {
            font-size: 1.125rem;
            font-weight: 600;
            letter-spacing: -0.0225rem;
            color: var(--secondary-color);
        }
    }

    .profile-sub-header {
        h3 {
            font-size: 0.875rem;
            font-weight: 500;
            letter-spacing: -0.0225rem;
            margin-bottom: 6px;
            color: var(--secondary-color);
        }

        p {
            margin-top: 6px;
        }
    }

    .uk-heading-divider {
        border-color: var(--border-color-6);
        padding-bottom: 12px;
    }
}

/* Action Buttons */
.actions-btns {
    display: flex;
    gap: 8px;
    @include s {
        align-self: flex-end;
    }
}

.action-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.1s ease;
    color: var(--secondary-color);
    background-color: var(--white);
}

.action-btn:hover {
    border-color: var(--border-color-2);
}

.replace-btn:hover {
    color: #fff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.view-btn:hover {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.delete-btn:hover {
    color: #fff;
    background-color: #e74c3c;
    border-color: #e74c3c;
}

/* Personal Information */
.upload-area {
    border: 2px dashed #efe5dc;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: var(--bg-light-4);
}

.upload-area.dragover {
    border-color: #1e87f0;
    background: #e3f2fd;
}

.upload-icon {
    color: var(--text-color);
    margin-bottom: 8px;
}

.upload-text {
    color: #666;
    margin-bottom: 4px;
}

.upload-subtext {
    color: #b8860b;
    font-size: 14px;
}

.preview-container {
    text-align: center;
    position: relative;
}

.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    min-height: 40px;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #fff;
    align-items: center;
}

.language-tags:empty::before {
    content: "Select languages from the dropdown above";
    color: #999;
    font-style: italic;
}

.language-tag {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: var(--br-8);
    display: flex;
    align-items: center;
    gap: 4px;
}

.language-tag .remove-tag {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.language-tag .remove-tag:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hidden {
    display: none !important;
}

.upload-container {
    position: relative;
}

/* Professional */
.specialization-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;

    @include s {
        display: grid;
    }
}

.specialization-tag {
    padding: 12px 20px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--br-8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
    user-select: none;

    @include s {
        width: 100%;
        text-align: center;
    }
}

.specialization-tag:hover {
    background-color: var(--bg-light-11);
    border-color: var(--border-color-5);
}

.specialization-tag.selected {
    background-color: var(--bg-light-11);
    border-color: var(--border-color-5);
    color: var(--primary-color);
}

.specialization-descriptions-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.description-item {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.description-item:hover {
    border-color: var(--primary-color);
}

.description-item .specialization-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.description-item .specialization-name {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 1rem;
}

.description-item .remove-btn {
    background: #ce4e50;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s ease;
}

.description-item .remove-btn:hover {
    background: rgb(158, 23, 36);
}

.description-textarea {
    min-width: 97%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    transition: border-color 0.3s ease;
    resize: vertical;
}

.description-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(177, 136, 49, 0.25);
}

.description-textarea::placeholder {
    font-style: italic;
}

/* Pricing */
.pricing-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--br-8);
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    background-color: var(--bg-light-10);
    border-color: var(--border-color-5);
}

.pricing-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pricing-input-container {
    position: relative;
}

.pricing-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    padding: 8px 0;
    border-bottom: 2px solid #dee2e6;
    transition: border-color 0.3s ease;
}

.pricing-input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.pricing-label {
    font-size: 12px;
    margin-top: 8px;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;

    @include s {
        grid-template-columns: 1fr;
    }
}

/* Certificate Card Styles */
.certificate-card {
    background: var(--bg-light-1);
    border-color: var(--border-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.3s ease;

    @include s {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    &:hover {
        background-color: var(--bg-light-11);
        border-color: var(--border-color-5);
    }
}

.certificate-content {
    flex: 1;
}

.certificate-title {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #333;
}

.certificate-date {
    margin: 0;
    font-size: 0.9em;
}

/* Review Card */
.reviews-container {
    display: grid;
    gap: 12px;
}
.review-card {
    background-color: var(--white);
    border-radius: 0.5rem;
    border-left: 4px solid var(--border-color-7);
    padding: 20px;

    .reviewer-name {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0;
    }

    .review-content {
        margin-top: 15px;
        p:last-child {
            margin-bottom: 0;
        }
    }
}

/* Schedule & Availability */
.form-group {
    margin-bottom: 1.5rem;
}

.form-select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Schedule-specific styles */
.schedule-calendar {
    margin-top: 1.5rem;
}

.clock-separator {
    span {
        width: 20px;
    }
}

.day-schedule {
    background: var(--white);
    border-radius: 15px;
    padding: 24px;
    margin-bottom: 1rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;

    @include s {
        padding: 12px;
    }
}

.day-schedule:hover {
    border-color: var(--primary-color);
}

.day-header {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.day-header label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    cursor: pointer;
}

.time-slots {
    min-height: 60px;
}

.time-slot {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--br-8);
    border: 1px solid var(--border-color);
}

.time-slots > div:nth-child(even) {
    background-color: var(--bg-light-9);
}

.time-select {
    min-width: 120px;
}

.time-separator {
    font-weight: 600;
}

.btn-add-slot {
    border: 2px dashed #b8b4ae;
}

.btn-add-slot:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-remove-slot {
    background: #e74c3c;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-slot:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.duration-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.uk-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.uk-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.uk-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-light-12);
    transition: 0.4s;
    border-radius: 24px;
}

.uk-switch-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.uk-switch input:checked + .uk-switch-slider {
    background-color: var(--primary-color);
}

.uk-switch input:checked + .uk-switch-slider:before {
    transform: translateX(26px);
}

@media (max-width: 768px) {
    .time-slot {
        flex-direction: column;
        gap: 0.5rem;
    }

    .time-separator {
        display: none;
    }

    .duration-options {
        grid-template-columns: 1fr;
    }
}

/* Actions Btn */
.action-small-btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    background-color: var(--bg-light-11);
    width: 32px;
    height: 32px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    color: var(--secondary-color);
    transition: all 0.1s ease-in-out;

    &:hover {
        background-color: var(--secondary-color);
        color: #fff;
    }

    @include s {
        width: 38px;
        height: 38px;
    }

}

.action-cancel-btn {
    background-color: #ce4e50;
    color: #fff;

    &:hover {
        background-color: #ee395b;
    }
}

.action-join-btn {
    background-color: var(--primary-color);
    color: #fff;
}

/* cart-item-small */
.cart-item-small {
    background-color: var(--white);
    padding: 1.2rem 1rem;
    border-radius: var(--br-8);
    h3 {
        font-size: 1.4rem;
    }

    .cis-title {
        font-size: 0.8rem;
        font-weight: 600;
    }

    .cis-amount {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .cis-text {
        margin-bottom: 0;
    }
    // .cis-ico {
    //     width: 48px;
    //     height: 48px;
    //     display: flex;
    //     justify-content: center;
    //     align-items: center;
    //     border-radius: 50%;
    // }
}

// .cis-total {
//     background: #f6f3ee;
//     color: var(--secondary-color);
// }

.trainer-filter-tab {
    padding: 0;
}

/* Schedule */
.schedule-table {
    min-width: 800px;
}

.time-column {
    width: 100px;
    font-weight: 600;
}

.time-slot {
    background: transparent;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
}

.schedule-cell {
    padding: 8px 4px;
    text-align: center;
    vertical-align: middle;
    min-height: 60px;
    position: relative;
    cursor: pointer;
    border: 1px solid #e5e5e5;
}

.schedule-cell.available {
    background: #fff;
    border-color: #b1884f;
}

.schedule-cell.available:hover {
    background: var(--bg-light-4);
}

.schedule-cell.booked {
    background: #fef3c7;
    border-color: #f59e0b;
    cursor: default;
}

.schedule-cell.blocked {
    background: #f9ebeb;
    border-color: #ce4e50;
    cursor: default;
}

.schedule-cell.unavailable {
    background: #f3f4f6;
    border-color: #9ca3af;
    cursor: not-allowed;
}

.schedule-cell.current-session {
    background: #edf7ed;
    border-color: #5cb85c;
    border-width: 2px;
}

.schedule-cell.upcoming-session {
    background: #fff9e5;
    border-color: #dfbd77;
    border-width: 2px;
}

.slot-available {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 500;
}

.slot-booked {
    color: var(--secondary-color);
    font-size: 12px;
    line-height: 1.2;
}

.slot-blocked {
    color: #dc2626;
    font-size: 12px;
    font-weight: 500;
}

.slot-unavailable {
    color: #6b7280;
    font-size: 12px;
}

.legend-item {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.legend-item.available {
    background: #f0f9ff;
    border-color: #3b82f6;
}

.legend-item.booked {
    background: #fef3c7;
    border-color: #e5ac00;
}

.legend-item.blocked {
    background: #fee2e2;
    border-color: #ef4444;
}

.legend-item.unavailable {
    background: #f3f4f6;
    border-color: #9ca3af;
}
