﻿.course-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.course-price {
    font-weight: bold;
    color: #333;
}

.course-time {
    font-size: 13px;
    color: #888;
}

/************/
.expert-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 16px;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    height: 100%;
    border:1px solid khaki;
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.expert-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.hover-link:hover {
    color: #0d6efd;
}

.fs-14 {
    font-size: 14px;
}

.fs-13 {
    font-size: 13px;
}

.fs-24 {
    font-size: 24px;
}

/*****************/
.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    color: #333;
    transition: color 0.2s ease;
}

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        color: #0d6efd;
    }

.dropdown-menu {
    border-radius: 0.5rem;
    font-size: 14px;
}

.avatar {
    width: 48px !important;
    height: auto !important;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 0.5rem;
}

.badge-cart {
    position: absolute;
    top: -6px;
    right: -10px;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 50%;
}

.navbar-hamburger button {
    border: none;
    background: transparent;
}

.navbar-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
    }

    .navbar-other {
        margin-top: 1rem;
    }
}
/*************/
.topbar {
    font-size: 14px;
    background: linear-gradient(to right, #198754, #157347);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .topbar a:hover {
        text-decoration: underline;
        color: #fff;
    }

.ltr {
    direction: ltr;
    text-align: left;
}

.gap-4 > * {
    margin-left: 1.5rem;
}

@media (max-width: 768px) {
    .topbar {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .gap-4 {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/***********/
.filter-bar {
    background-color: #f9f9f9;
    border: 1px solid #dee2e6;
}

.form-check-label {
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}

.pagination .page-link {
    border-radius: 0.5rem;
    margin: 0 4px;
}

.aside-section h5 {
    font-size: 18px;
    color: #333;
}

.inner ul {
    padding-left: 0;
}
/*************/

.reserving-card {
    flex: 1 1 320px;
    max-width: 100%;
    min-width: 280px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

    .reserving-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    }

.fs-14 {
    font-size: 14px;
}

.fw-bold {
    font-weight: 600;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

.material-icons-round {
    font-size: 20px;
    vertical-align: middle;
}

.rounded-3 {
    border-radius: 12px !important;
}

.expert-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; /* فاصله بین باکس‌ها */
}


@media (max-width: 768px) {
    .reserving-card {
        flex: 1 1 100%;
    }
}

.expert-box-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* فاصله مساوی بین باکس‌ها */
    gap: 1rem;
    margin-top: 1rem;
}

h4 {
    font-size: 20px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.5rem;
}
/*********/
.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
}

    .alert-danger h5 {
        font-size: 18px;
    }

    .alert-danger p {
        font-size: 14px;
        color: #333;
    }
/***********/

.user-account-content {
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.account-information ul li {
    font-size: 15px;
    color: #333;
    padding: 4px 0;
    border-bottom: 1px dashed #e0e0e0;
}

    .account-information ul li:last-child {
        border-bottom: none;
    }

.uil {
    font-size: 18px;
    vertical-align: middle;
}

h2, h5 {
    margin-bottom: 0.5rem;
}

.text-muted {
    font-size: 14px;
}

.dashboard-links li {
    padding: 8px 0;
    border-bottom: 1px dashed #dee2e6;
    font-size: 15px;
}

    .dashboard-links li:last-child {
        border-bottom: none;
    }

.dashboard-links a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

    .dashboard-links a:hover {
        color: #0d6efd;
    }

.card-header h5 {
    font-size: 18px;
}

.badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
}



.user-profile-card {
    border: 1px solid #dee2e6;
}

.profile-avatar img {
    border: 3px solid #f0f0f0;
    transition: transform 0.3s ease;
}

    .profile-avatar img:hover {
        transform: scale(1.05);
    }

.profile-details h5 {
    font-size: 18px;
}

.profile-details p {
    font-size: 14px;
    margin-bottom: 0.25rem;
}

.rounded-circle {
    border-radius: 50% !important;
}



.user-info-list li {
    font-size: 15px;
    color: #333;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-info-list li:last-child {
    border-bottom: none;
}

.user-info-list strong {
    min-width: 130px;
    display: inline-block;
    color: #555;
}

.account-information {
    background-color: #fdfdfd;
}



.form-label {
    font-weight: 600;
    color: #333;
}

.form-control {
    border-radius: 8px;
}

.rounded-circle {
    transition: transform 0.3s ease;
}

    .rounded-circle:hover {
        transform: scale(1.05);
    }

.btn-success {
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
}

.text-muted {
    font-size: 14px;
}



.transaction-table-wrapper {
    overflow-x: hidden;
}

.card-body {
    font-size: 14px;
}

.table-responsive {
    overflow-x: auto;
}


.btn-outline-danger {
    font-size: 14px;
    border-radius: 8px;
}


