/**
 * 스마트에듀 프론트엔드 스타일
 * 똑똑한과외 스타일 참고 - 세련되고 현대적인 디자인
 */

/* 전역 스타일 */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
    --border-color: #e1e8ed;
    --text-color: #2c3e50;
    --text-light: #95a5a6;
}

* {
    box-sizing: border-box;
}

/* 로그인/회원가입 페이지 */
.smartedu-auth-wrapper {
    max-width: 500px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
}

.btn-auth {
    display: block;
    width: 100%;
    padding: 18px 24px;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-login {
    background: var(--primary-color);
    color: white;
}

.btn-login:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(44,62,80,0.3);
}

.btn-register {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-register:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 모달 공통 스타일 */
.smartedu-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 999999;
    overflow-y: auto;
    padding: 20px;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: white;
    margin: 40px auto;
    padding: 40px;
    border-radius: 20px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-small { max-width: 500px; }
.modal-medium { max-width: 700px; }
.modal-large { max-width: 900px; }
.modal-xlarge { max-width: 1100px; }

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: #aaa;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
    font-weight: 300;
}

.modal-close:hover {
    color: #333;
    transform: rotate(90deg);
}

.modal-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.modal-subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

/* 폼 스타일 */
.form-group {
    margin-bottom: 24px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(52,152,219,0.1);
}

.form-group input[type="file"] {
    padding: 10px;
}

.file-note {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* 체크박스 & 라디오 */
.checkbox-wrapper,
.radio-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.checkbox-wrapper:hover,
.radio-wrapper:hover {
    background: #f8f9fa;
}

.checkbox-wrapper input[type="checkbox"],
.checkbox-wrapper input[type="radio"],
.radio-wrapper input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
}

.checkbox-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
}

.radio-group-inline {
    display: flex;
    gap: 20px;
}

/* 버튼 */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover:not(:disabled) {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,62,80,0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-large {
    padding: 18px 32px;
    font-size: 18px;
}

.btn-social {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.btn-kakao {
    background: #FEE500;
    color: #000000;
}

.btn-naver {
    background: #03C75A;
    color: white;
}

.btn-social:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.form-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

.form-divider span {
    position: relative;
    background: white;
    padding: 0 16px;
    color: var(--text-light);
    font-size: 14px;
}

.switch-auth {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.switch-auth a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.switch-auth a:hover {
    text-decoration: underline;
}

/* 약관 동의 */
.agreement-container {
    max-height: 500px;
    overflow-y: auto;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 24px;
    background: #fafbfc;
}

.agreement-all {
    padding: 16px;
    background: white;
    border-radius: 10px;
    margin-bottom: 16px;
    border: 2px solid var(--primary-color);
}

.agreement-divider {
    height: 1px;
    background: var(--border-color);
    margin: 20px 0;
}

.agreement-item {
    margin-bottom: 16px;
    background: white;
    padding: 16px;
    border-radius: 10px;
}

.agreement-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-toggle-detail {
    padding: 6px 16px;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-toggle-detail:hover {
    background: var(--border-color);
}

.agreement-detail {
    margin-top: 12px;
}

.agreement-box {
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 150px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* 폼 섹션 */
.form-section {
    margin-bottom: 40px;
    padding: 24px;
    background: #fafbfc;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.section-note {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.subsection-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
}

.region-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 16px 0 8px 0;
}

.subject-category {
    grid-column: 1 / -1;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 8px;
}

.form-graduate-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed var(--border-color);
}

/* 선생님 목록 */
.smartedu-teacher-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.teacher-filter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 50px;
    color: white;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.filter-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.filter-subtitle {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.filter-form {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
}

.filter-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
}

.filter-item label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
}

.filter-item select {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    background: white;
}

.btn-filter-search,
.btn-filter-reset {
    padding: 14px 32px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter-search {
    background: white;
    color: #667eea;
}

.btn-filter-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.3);
}

.btn-filter-reset {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-filter-reset:hover {
    background: rgba(255,255,255,0.3);
}

/* 선생님 카드 그리드 */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

@media (max-width: 768px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
}

.teacher-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.teacher-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.recommend-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.card-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.teacher-card:hover .card-overlay {
    opacity: 1;
}

.btn-view-detail {
    padding: 12px 24px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-view-detail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(255,255,255,0.3);
}

.card-content {
    padding: 20px;
}

.card-header {
    margin-bottom: 12px;
}

.teacher-university {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 6px;
}

.teacher-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
}

.teacher-name small {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin-left: 6px;
}

.teacher-intro {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-info {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 13px;
}

.info-label {
    color: var(--text-light);
    font-weight: 500;
}

.info-value {
    color: var(--text-color);
    font-weight: 600;
    text-align: right;
}

/* 데이터 없음 */
.no-teachers {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--light-bg);
    border-radius: 16px;
}

.no-teachers-content h3 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 12px;
}

.no-teachers-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-consultation {
    display: inline-block;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-consultation:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44,62,80,0.3);
}

.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.btn-load-more {
    padding: 14px 48px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-load-more:hover {
    background: var(--primary-color);
    color: white;
}

/* 로딩 */
.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: var(--text-light);
}

/* 상담 신청 폼 */
.smartedu-consultation-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
}

.consultation-header {
    text-align: center;
    margin-bottom: 50px;
}

.consultation-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.consultation-subtitle {
    font-size: 16px;
    color: var(--text-light);
}

.consultation-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.schedule-table {
    overflow-x: auto;
}

.schedule-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: center;
}

.schedule-table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.time-cell {
    background: var(--light-bg);
    font-weight: 600;
    font-size: 13px;
}

.schedule-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.tooltip-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    cursor: help;
    margin-left: 6px;
}

.form-note {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.agreement-text {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin-top: 12px;
}

.agreement-text p {
    margin: 6px 0;
}

/* 안내 박스 */
.info-boxes {
    margin-top: 50px;
}

.info-box {
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
}

.info-box-toggle {
    width: 100%;
    padding: 20px 24px;
    background: var(--light-bg);
    border: none;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.info-box-toggle:hover {
    background: var(--border-color);
}

.info-icon {
    font-size: 24px;
}

.info-box-toggle h3 {
    flex: 1;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.toggle-icon {
    font-size: 14px;
    color: var(--text-light);
}

.info-box-content {
    display: none;
    padding: 24px;
}

.info-box-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0 12px 0;
}

.info-box-content h4:first-child {
    margin-top: 0;
}

.info-box-content ul {
    list-style: none;
    padding: 0;
}

.info-box-content li {
    padding: 8px 0 8px 24px;
    position: relative;
    line-height: 1.6;
}

.info-box-content li:before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--secondary-color);
    font-weight: bold;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}

.price-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
}

.price-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.price-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.price-note {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 12px;
}

/* 내 프로필 */
.smartedu-profile-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    margin-bottom: 30px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 4px solid white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.profile-info h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.profile-university {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.profile-status {
    display: flex;
    gap: 12px;
}

.status-badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.status-pending {
    background: rgba(255,255,255,0.3);
}

.status-approved {
    background: rgba(39,174,96,0.3);
}

.status-rejected {
    background: rgba(231,76,60,0.3);
}

.recommend-badge {
    background: rgba(255,255,255,0.3);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid;
}

.alert-info {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1565c0;
}

.alert-success {
    background: #e8f5e9;
    border-color: #4caf50;
    color: #2e7d32;
}

.alert-warning {
    background: #fff3e0;
    border-color: #ff9800;
    color: #e65100;
}

.alert strong {
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.info-display {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 10px;
}

.info-display .info-item {
    display: block;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}

.info-display .info-item strong {
    color: var(--primary-color);
    margin-right: 6px;
}

.profile-stats {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

/* 선생님 상세 모달 */
.modal-teacher-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 24px;
}

.modal-teacher-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--primary-color);
    flex-shrink: 0;
}

.modal-teacher-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.gender-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 14px;
    margin-left: 8px;
}

.modal-university {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.modal-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

.verified-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.modal-teacher-body {
    padding: 20px 0;
}

.modal-section {
    margin-bottom: 32px;
}

.modal-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.info-grid .info-item {
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    font-size: 14px;
}

.info-grid .info-item strong {
    color: var(--primary-color);
    margin-right: 6px;
}

.extra-info {
    padding: 16px;
    background: var(--light-bg);
    border-radius: 8px;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-action-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.btn-consultation-modal {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}

.btn-consultation-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(102,126,234,0.4);
}

/* 반응형 */
@media (max-width: 768px) {
    .modal-content {
        padding: 24px;
        margin: 20px auto;
    }
    
    .modal-title {
        font-size: 24px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-teacher-header {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-title {
        font-size: 28px;
    }
    
    .consultation-title {
        font-size: 28px;
    }
}

/* 프로필 오류 */
.profile-error {
    text-align: center;
    padding: 60px 20px;
}

.profile-error p {
    font-size: 18px;
    color: var(--text-light);
}