/* Teacher Profile Styles - Based on the provided design */
.teacher-profile-page {
    background: #f5f5f5;
}

.teacher-profile-header {
    background: white;
    padding: 50px 0 40px;
    margin-bottom: 40px;
    border-bottom: 3px solid #1a1a1a;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
}

.teacher-profile-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
}

.teacher-avatar-section {
    text-align: center;
}

.teacher-avatar-section img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid #1a1a1a;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    margin-bottom: 15px;
}

.teacher-verification {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f8f8f8;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid #e0e0e0;
    color: #333;
}

.teacher-verification i {
    color: #4CAF50;
}

.teacher-info-section {
    padding-top: 10px;
}

.teacher-name {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.teacher-title {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #666;
}

.teacher-bio {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 800px;
    color: #555;
}

.teacher-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}

.meta-item i {
    font-size: 18px;
    width: 30px;
    text-align: center;
    color: #1a1a1a;
}

.meta-item span {
    font-size: 15px;
    color: #333;
}

.teacher-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #1a1a1a;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.teacher-stats-section {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background: #f8f8f8;
    border-radius: 15px;
    border: 2px solid #e8e8e8;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

.teacher-content-section {
    background: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.content-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.tab-button {
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.content-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.content-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-info {
    padding: 20px;
}

.content-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.content-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.view-content-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.view-content-btn:hover {
    background: #333;
}

/* RTL Support */
body[dir="rtl"] .teacher-profile-content {
    direction: rtl;
    text-align: right;
}
