/* ========================================
   页面专用样式
   ======================================== */

/* 搜索结果页 */
.tyc-search-result {
    padding: 24px 0;
}

.tyc-search-header {
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    padding: 48px 0;
    color: white;
}

.tyc-search-header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tyc-search-header p {
    font-size: 14px;
    opacity: 0.9;
}

.tyc-result-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.tyc-result-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.tyc-result-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.tyc-result-content {
    flex: 1;
}

.tyc-result-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tyc-result-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.tyc-result-tag {
    padding: 2px 8px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.tyc-result-tag.status-active {
    background: rgba(82,196,26,0.1);
    color: #52c41a;
}

.tyc-result-tag.status-inactive {
    background: rgba(255,77,79,0.1);
    color: #ff4d4f;
}

.tyc-result-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #999;
}

.tyc-result-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tyc-btn-view-detail {
    padding: 8px 20px;
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tyc-btn-view-detail:hover {
    opacity: 0.9;
}

/* 详情页 */
.tyc-detail {
    padding: 24px 0;
}

.tyc-breadcrumb {
    padding: 12px 0;
    margin-bottom: 24px;
}

.tyc-breadcrumb-item {
    color: #999;
    font-size: 14px;
}

.tyc-breadcrumb-item:not(:last-child)::after {
    content: ' / ';
    margin: 0 8px;
}

.tyc-breadcrumb-item.active {
    color: #00bfa5;
}

.tyc-detail-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.tyc-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.tyc-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
}

.tyc-detail-title {
    flex: 1;
}

.tyc-detail-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.tyc-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    background: rgba(82,196,26,0.1);
    color: #52c41a;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.tyc-detail-actions {
    display: flex;
    gap: 12px;
}

.tyc-detail-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #00bfa5;
}

.tyc-detail-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.tyc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tyc-info-label {
    min-width: 100px;
    color: #999;
    font-size: 14px;
}

.tyc-info-value {
    flex: 1;
    color: #333;
    font-size: 14px;
}

/* 表格样式 */
.tyc-table {
    width: 100%;
    border-collapse: collapse;
}

.tyc-table th,
.tyc-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.tyc-table th {
    background: #f8fcff;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.tyc-table td {
    font-size: 14px;
    color: #666;
}

.tyc-table tbody tr:hover {
    background: #f8fcff;
}

.tyc-table tbody tr:last-child td {
    border-bottom: none;
}

/* 登录/注册页 */
.tyc-auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00bfa520, #00c0ca20);
    padding: 40px 20px;
}

.tyc-auth-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.tyc-auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.tyc-auth-subtitle {
    text-align: center;
    color: #999;
    font-size: 14px;
    margin-bottom: 32px;
}

.tyc-auth-form .form-group {
    margin-bottom: 20px;
}

.tyc-auth-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.tyc-auth-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.tyc-auth-form input:focus {
    outline: none;
    border-color: #00bfa5;
    box-shadow: 0 0 0 3px rgba(0,191,165,0.1);
}

.tyc-btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.tyc-btn-submit:hover {
    opacity: 0.9;
}

/* 会员中心 */
.tyc-member-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    padding: 24px 0;
}

.tyc-member-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tyc-member-nav {
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tyc-member-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #666;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.tyc-member-nav-item:hover {
    background: #f8fcff;
    color: #00bfa5;
}

.tyc-member-nav-item.active {
    background: rgba(0,191,165,0.1);
    color: #00bfa5;
    font-weight: 600;
}

.tyc-member-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tyc-member-card {
    background: linear-gradient(135deg, #00bfa5, #00c0ca);
    border-radius: 16px;
    padding: 24px;
    color: white;
}

.tyc-member-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tyc-member-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.tyc-member-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tyc-member-info p {
    font-size: 13px;
    opacity: 0.9;
}

.tyc-member-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tyc-member-stat {
    text-align: center;
    padding: 16px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
}

.tyc-member-stat-value {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.tyc-member-stat-label {
    font-size: 13px;
    opacity: 0.9;
}

/* VIP购买页 */
.tyc-vip-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.tyc-vip-plan {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 2px solid #f0f0f0;
    transition: all 0.2s;
}

.tyc-vip-plan:hover {
    border-color: #00bfa5;
    box-shadow: 0 8px 24px rgba(0,191,165,0.15);
    transform: translateY(-4px);
}

.tyc-vip-plan.featured {
    border-color: #ffcc00;
    position: relative;
}

.tyc-vip-plan.featured::before {
    content: '推荐';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffcc00, #ff9500);
    color: white;
    padding: 4px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.tyc-vip-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.tyc-vip-name {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.tyc-vip-price {
    font-size: 36px;
    font-weight: 700;
    color: #ff4d4f;
    margin-bottom: 24px;
}

.tyc-vip-price span {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.tyc-vip-features {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    text-align: left;
}

.tyc-vip-features li {
    padding: 8px 0;
    font-size: 14px;
    color: #666;
}

.tyc-vip-features li::before {
    content: '✓';
    color: #52c41a;
    font-weight: 700;
    margin-right: 8px;
}

/* 响应式 */
@media (max-width: 992px) {
    .tyc-member-layout {
        grid-template-columns: 1fr;
    }

    .tyc-vip-plans {
        grid-template-columns: repeat(2, 1fr);
    }

    .tyc-detail-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tyc-result-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .tyc-result-action {
        width: 100%;
        flex-direction: row;
    }

    .tyc-btn-view-detail {
        flex: 1;
        text-align: center;
    }

    .tyc-detail-header {
        flex-direction: column;
        text-align: center;
    }

    .tyc-detail-actions {
        width: 100%;
        justify-content: center;
    }

    .tyc-vip-plans {
        grid-template-columns: 1fr;
    }

    .tyc-member-stats {
        grid-template-columns: 1fr;
    }
}