/* ============================================
   Student Dashboard Styles
   ============================================ */

/* Dashboard Layout */
.my-course-content,
.wishlist-content,
.course-content {
    background: #000000;
    min-height: calc(100vh - 200px);
    padding: 60px 0;
    direction: rtl;
}

.profile-banner-area {
    height: 200px;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    margin-bottom: -100px;
    position: relative;
}

.profile-banner-area::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffde59 50%, transparent);
}

.profile-banner-area-container {
    position: relative;
    z-index: 2;
}

/* Sidebar Styles */
.gradient-border {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.gradient-border:hover {
    border-color: rgba(255, 222, 89, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.course-sideBar {
    width: 100%;
}

.profile-info {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-info .photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #ffde59;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 20px;
    display: block;
    transition: all 0.3s ease;
}

.profile-info .photo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 222, 89, 0.5);
}

.upload-new {
    margin-bottom: 20px;
}

.upload-new a {
    display: inline-block;
    background: rgba(255, 222, 89, 0.1);
    border: 1px solid rgba(255, 222, 89, 0.3);
    color: #ffde59;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.upload-new a:hover {
    background: rgba(255, 222, 89, 0.2);
    border-color: #ffde59;
    color: #ffffff;
    transform: translateY(-2px);
}

.profile-info .name {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin: 15px 0 10px;
}

.profile-info .email {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
}

/* Sidebar Menu */
.couses-tab-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.couses-tab-list li {
    margin-bottom: 10px;
}

.couses-tab-list li a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #b0b0b0;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    gap: 12px;
}

.couses-tab-list li a:hover {
    background: rgba(255, 222, 89, 0.1);
    color: #ffde59;
    transform: translateX(-5px);
}

.couses-tab-list li.active a {
    background: linear-gradient(135deg, rgba(255, 222, 89, 0.2), rgba(255, 222, 89, 0.1));
    color: #ffde59;
    border-right: 3px solid #ffde59;
}

.couses-tab-list li a svg,
.couses-tab-list li a i {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.couses-tab-list li.active a svg path,
.couses-tab-list li.active a svg {
    fill: #ffde59;
    stroke: #ffde59;
}

/* My Course Button */
.my-course-btn {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.my-course-btn .eBtn {
    background: linear-gradient(135deg, #ffde59, #e6c850);
    color: #000000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.my-course-btn .eBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 222, 89, 0.3);
    color: #000000;
}

/* Dashboard Content */
.g-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 30px;
}

/* Course Cards */
.Ecard,
.g-card,
.c-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.Ecard:hover,
.g-card:hover,
.c-card:hover {
    border-color: rgba(255, 222, 89, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(255, 222, 89, 0.1);
}

.card-head {
    position: relative;
    overflow: hidden;
}

.card-head img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.Ecard:hover .card-head img,
.g-card:hover .card-head img,
.c-card:hover .card-head img {
    transform: scale(1.1);
}

.card-body {
    padding: 25px;
}

.entry-details {
    width: 100%;
}

.info-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.creator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.creator img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #ffde59;
    object-fit: cover;
}

.creator h5 {
    color: #b0b0b0;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.entry-title {
    margin-bottom: 15px;
}

.entry-title h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.entry-title a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-title a:hover {
    color: #ffde59;
}

/* Progress Bar */
.single-progress {
    margin: 20px 0;
}

.single-progress h5 {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.single-progress p {
    color: #ffde59;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.progress {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #ffde59, #e6c850);
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

/* Class Details */
.class-details {
    margin: 20px 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.class-status {
    font-size: 13px;
}

.class-status span {
    color: #b0b0b0;
}

.badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge.bg-success {
    background: rgba(40, 167, 69, 0.2) !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.badge.bg-danger {
    background: rgba(220, 53, 69, 0.2) !important;
    color: #dc3545 !important;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Buttons */
.eBtn,
.learn-btn {
    background: linear-gradient(135deg, #ffde59, #e6c850);
    color: #000000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.eBtn:hover,
.learn-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 222, 89, 0.3);
    color: #000000;
}

/* My Panel */
.my-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.message-panel {
    min-height: 400px;
}

.edit_profile {
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    direction: rtl;
}

.form-control:focus {
    outline: none;
    border-color: #ffde59;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 222, 89, 0.1);
    color: #ffffff;
}

.form-control::placeholder {
    color: #666666;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.empty-state-icon {
    font-size: 80px;
    color: #666666;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.empty-state-text {
    color: #b0b0b0;
    font-size: 16px;
    margin-bottom: 30px;
}

/* Pagination */
.entry-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.entry-pagination .pagination {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px;
}

.entry-pagination .page-link {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.entry-pagination .page-link:hover {
    background: rgba(255, 222, 89, 0.1);
    border-color: #ffde59;
    color: #ffde59;
}

.entry-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ffde59, #e6c850);
    border-color: #ffde59;
    color: #000000;
    font-weight: 700;
}

/* Responsive */
@media (max-width: 992px) {
    .my-course-content,
    .wishlist-content,
    .course-content {
        padding: 40px 0;
    }

    .profile-banner-area {
        height: 150px;
        margin-bottom: -75px;
    }

    .gradient-border {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .my-course-content,
    .wishlist-content,
    .course-content {
        padding: 30px 0;
    }

    .g-title {
        font-size: 24px;
    }

    .profile-info .photo {
        width: 100px;
        height: 100px;
    }

    .profile-info .name {
        font-size: 20px;
    }
}

