:root{
   --border-color: #e9eaf0;
   --bg : #fff;
}

.header {

    text-align: center;
    /* border-bottom: 1px solid var(--border-color); */
    /* background-color: var(--bg); */
    box-shadow: 2px 2px 8px #0000001c;
}

.header h1 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 10px;
}

.header p {
    font-size: 18px;
    opacity: 0.9;
}

.exams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    padding-bottom: 20px;
}

.exam-card {
    /* background: #f9f9f9; */
    border: 1px solid var(--border-color);

    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.exam-card:hover {
    /* background: #f0f0f0; */
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
}

.exam-card .exam-number {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;

}

.exam-card .exam-title {
    font-size: 16px;
    font-weight: 600;
}

.exam-card .exam-info {
    font-size: 14px;
    color: #bebebe;

}

.search-box {
    margin-bottom: 30px;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #1e2d4d;
    background: transparent;
    color: #eee;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.search-box input:focus {
    border-color: #667eea;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    /* background: #f5f5f5; */
    border-radius: 10px;
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #667eea;
}

.stat-item .stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.bookmarked-section {
    margin-bottom: 40px;
}

.bookmarked-section-title {
    font-size: 24px;
    font-weight: 600;
    color: #f59e0b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;

}

.exam-card.bookmarked {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.exam-card.bookmarked:hover {
    border-color: #d97706;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.exam-card.bookmarked .exam-number {
    color: #f59e0b;
}

.exam-card .bookmark-badge {
    font-size: 12px;
    color: #f59e0b;
    margin-top: 5px;
    font-weight: 500;
}

.bookmark-date {
    font-size: 11px;
    color: #888;
}

.delete-bookmark {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #ef4444;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}

.delete-bookmark:hover {
    background: rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.exam-card {
    position: relative;
}

@media (max-width: 768px) {
    .exams-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .header h1 {
        font-size: 28px;
    }

}

.u100 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
}

.u101 {
    display: flex;
    align-items: center;
}

small {
    font-weight: 100;
    font-size: 14px;

}

.language-item {
    padding: 5px;
}

.language-item.active {
    font-weight: 600;
    border-bottom: 1px solid;
}

.post-item {
}

.post-item .post-wrapper{
    
    border: 1px solid #e9eaf0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.post-item h3 {
    font-size: 1rem !important;
    line-height: 1.235rem;
    padding: 10px;
    font-weight: bold;
}

a{
    color: inherit;
    text-decoration: none;
}

.course-view{
    border: 1px solid #e9eaf0;
    border-radius: 10px;
    padding: 10px;
}

.course-photo{
    border-radius: 5px;
    max-width: 300px;
    height: auto;
}

@media (max-width: 560px) {
    .course-photo{
        width: 100%;
        align-self: center;
    }

    .course-list .item{
        flex-direction: column-reverse; 
        
    }
}

.corse-answers{
    font-size: 18px;
    font-weight: 300;
    padding: 5px 0px
}

.course-list .item  {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    padding: 10px !important;
    border: 1px solid #dadada;
    border-radius: 5px;
}

.exam-now{
    position: fixed;
    bottom: 10px;
    z-index: 10;
    right: 10px;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(var(--bs-link-color-rgb));
    color: #fff;
}

.header .logo{
    height: 40px;
    
}
.border-1{
    border: 1px solid var(--border-color);
}

.pagination{
    overflow: auto;
}