* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f8f5f0;
    color: #333;
    line-height: 1.6;
    max-width: 414px;
    margin: 0 auto;
}

.container {
    max-width: 414px;
    margin: 0 auto;
    padding: 10px;
}

.screen {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.page-header {
    background: #1a1a2e;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 414px;
    margin: 0 auto;
}

.home-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 13px;
    margin-right: 12px;
    white-space: nowrap;
}

.page-title {
    font-size: 16px;
    font-weight: bold;
    color: #d4af37;
    flex: 1;
    text-align: center;
    margin: 0;
}

.header-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 13px;
    margin-left: 12px;
    white-space: nowrap;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 15px;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.expert-profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.expert-avatar-container {
    position: relative;
    margin-bottom: 15px;
}

.expert-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #d4a843;
}

.expert-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(212, 168, 67, 0.9);
    color: #fff;
    font-size: 11px;
    text-align: center;
    padding: 2px 10px;
    border-radius: 10px;
    white-space: nowrap;
}

.expert-name {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.expert-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.expert-stats-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.expert-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 16px;
    font-weight: bold;
    color: #d4a843;
}

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

.expert-actions-detail {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-btn {
    padding: 8px 16px;
    border: 1px solid #d4a843;
    border-radius: 20px;
    background-color: #fff;
    color: #d4a843;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background-color: #d4a843;
    color: #fff;
}

.action-btn:hover {
    background-color: #c0983a;
    color: #fff;
}

.expert-intro-content p {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
    font-size: 13px;
}

.fields-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.field-tag {
    background-color: #f0f0f0;
    color: #333;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
}

.works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.work-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.work-image {
    height: 160px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info {
    padding: 12px;
}

.work-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.work-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}

.courses-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-image {
    height: 140px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-info {
    padding: 12px;
}

.course-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.course-price {
    font-size: 14px;
    font-weight: bold;
    color: #d4a843;
}

.course-duration {
    font-size: 12px;
    color: #666;
}

.course-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.course-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.course-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #d4a843;
    border-radius: 20px;
    background-color: #d4a843;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background-color: #c0983a;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.3s ease;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 5px;
}

.review-user {
    font-weight: bold;
    color: #333;
    font-size: 13px;
}

.review-rating {
    color: #d4a843;
    font-size: 12px;
}

.review-date {
    font-size: 11px;
    color: #999;
}

.review-content p {
    line-height: 1.6;
    color: #555;
    font-size: 13px;
}

#right1_float_btn {
    position: fixed;
    right: 15px;
    bottom: 80px;
    background: linear-gradient(135deg, #8B4513, #D2691E);
    color: #fff;
    padding: 12px 15px;
    border-radius: 25px;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
    cursor: pointer;
    z-index: 99;
}
