.teachin-main-content {
    background-color: #f5f7fa;
    min-height: calc(100vh - 200px);
}

.banner-section {
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    height: 200px;
    justify-content: center;
    margin-bottom: 2rem;
    width: 100%;
}

.banner-image {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.banner-placeholder {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.content-wrapper {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 250px 1fr;
    margin-bottom: 2rem;
}

.sidebar {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    height: fit-content;
    padding: 1.5rem;
}

.sidebar-nav h3 {
    border-bottom: 2px solid #0066cc;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav .nav-item {
    margin-bottom: 0.5rem;
}

.sidebar-nav .nav-item a {
    border-radius: 6px;
    color: #666;
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sidebar-nav .nav-item a:hover {
    background-color: #f0f8ff;
    color: #0066cc;
}

.sidebar-nav .nav-item.active a {
    background-color: #0066cc;
    color: #fff;
}

.teachin-content-area {
    min-width: 0;
}

.search-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
}

.search-box {
    display: flex;
    gap: 0.8rem;
    grid-template-columns: 1.8fr 1fr 1fr 1fr auto;
}
.search-box input{
    flex: 1;
}
.search-box input,
.teachin-filter-select,
.teachin-date-input {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
}

.search-box input:focus,
.teachin-filter-select:focus,
.teachin-date-input:focus {
    border-color: #0066cc;
    outline: none;
}

.search-btn {
    background-color: #0066cc;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.8rem 1.4rem;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #0052a3;
}

.filter-section {
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    color: #666;
    display: flex;
    font-size: 0.95rem;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.filter-options {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

.filter-options label {
    color: #666;
    font-size: 0.95rem;
}

.filter-options select {
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.95rem;
    padding: 0.5rem;
}

.filter-tip {
    color: #999;
    font-size: 0.9rem;
}

.teachin-list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.teachin-list-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #0066cc;
    color: #333;
    display: grid;
    font-weight: 600;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    padding: 1rem 1.5rem;
}

.teachin-item {
    border-bottom: 1px solid #e9ecef;
    color: inherit;
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1fr;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.teachin-item:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
}

.teachin-item:last-child {
    border-bottom: none;
}

.teachin-company h3 {
    color: #333;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.4rem 0;
}

.teachin-college {
    color: #666;
    font-size: 0.9rem;
}

.teachin-city,
.teachin-address,
.teachin-date {
    align-items: center;
    color: #666;
    display: flex;
    font-size: 0.95rem;
}

.teachin-empty {
    color: #999;
    padding: 2rem;
    text-align: center;
}

.pagination {
    align-items: center;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.page-btn {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn:hover {
    background-color: #f0f8ff;
    border-color: #0066cc;
    color: #0066cc;
}

.page-btn.disabled,
.page-btn.disabled:hover {
    background-color: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
}

.page-info {
    color: #666;
    font-size: 0.95rem;
}

@media (max-width: 1200px) {
    .search-box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }

    .banner-section {
        height: 150px;
    }

    .banner-placeholder {
        font-size: 2rem;
    }

    .search-box {
        grid-template-columns: 1fr;
    }

    .filter-section {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.5rem;
    }

    .teachin-list-header,
    .teachin-item {
        gap: 0.5rem;
        grid-template-columns: 1fr;
    }
}
