/* Additional styles for new features */

/* ============================================
   Main Page Expert Cards - Full Photo
   ============================================ */
.experts-section .expert-card-simple {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.experts-section .expert-card-simple:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.15);
}

.expert-photo-full {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.expert-photo-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.badge-lawyer {
    color: #1976d2;
}

.badge-agent {
    color: #f57c00;
}

.expert-info-simple {
    padding: 20px;
}

.expert-region {
    font-size: 0.875rem;
    color: #0066FF;
    font-weight: 600;
    margin-bottom: 12px;
}

.expert-intro-simple {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Expert Type Selection
   ============================================ */
.expert-type-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.expert-type-card {
    position: relative;
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}

.expert-type-card.recommended {
    border-color: var(--primary);
    background: linear-gradient(135deg, #F0F7FF 0%, #FFFFFF 100%);
}

.expert-type-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.expert-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.expert-type-card input[type="radio"]:checked + label {
    border-color: var(--primary);
}

.expert-type-card label {
    cursor: pointer;
    display: block;
}

.expert-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.expert-type-header h4 {
    font-size: 1.25rem;
    color: var(--text);
    margin: 0;
}

.expert-type-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.expert-type-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.expert-type-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expert-type-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.expert-type-card input[type="radio"]:checked + label {
    background-color: #F0F7FF;
}

.expert-type-card:has(input[type="radio"]:checked) {
    border-color: var(--primary);
    border-width: 3px;
    box-shadow: 0 8px 24px rgba(21, 80, 232, 0.15);
}

@media (max-width: 768px) {
    .expert-type-selection {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Beta Notice Section
   ============================================ */
.beta-notice-section {
    background: linear-gradient(135deg, #1550E8 0%, #2D6FFF 100%);
    padding: 4rem 0;
}

.beta-notice-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.beta-badge {
    display: inline-block;
    background: linear-gradient(135deg, #F5A623, #FFC850);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.beta-notice-card h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 1rem;
}

.beta-desc {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.beta-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.5rem;
}

/* ============================================
   Experts Section
   ============================================ */
.experts-section {
    background-color: #F8F9FA;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expert-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

.expert-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.expert-info h3 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
}

.expert-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.expert-rating i {
    color: #FFC107;
}

.expert-regions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.expert-intro {
    color: var(--text-light);
    line-height: 1.6;
}

.badge-lawyer {
    background-color: #E3F2FD;
    color: #1565C0;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-agent {
    background-color: #FFF8E1;
    color: #F57C00;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   Admin Status Badges
   ============================================ */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background-color: #FFF8E1;
    color: #F57C00;
}

.status-matching {
    background-color: #E3F2FD;
    color: #1565C0;
}

.status-completed {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.status-success {
    background-color: #C8E6C9;
    color: #1B5E20;
}

.status-failed {
    background-color: #FFEBEE;
    color: #C62828;
}

.status-cancelled {
    background-color: #ECEFF1;
    color: #455A64;
}

@media (max-width: 768px) {
    .beta-notice-card {
        padding: 2rem 1.5rem;
    }
    
    .beta-notice-card h2 {
        font-size: 1.5rem;
    }
    
    .experts-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Expert Button
   ============================================ */
.btn-expert {
    background-color: var(--accent);
    color: white;
    padding: 12px 24px;
    margin-right: 1rem;
}

.btn-expert:hover {
    background-color: #E09A1F;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.875rem;
}

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

.btn-danger:hover {
    background-color: #DC2626;
}

/* ============================================
   Step Navigation Buttons
   ============================================ */
.step-nav-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.step-nav-buttons .btn-secondary {
    flex: 0 0 auto;
    min-width: 150px;
}

.step-nav-buttons .btn-lg {
    flex: 1;
}

/* ============================================
   Radio Groups
   ============================================ */
.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

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

/* ============================================
   Checkbox Grid
   ============================================ */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

/* ============================================
   Expert Page
   ============================================ */
.expert-container {
    min-height: 100vh;
    background-color: #F9FAFB;
}

.expert-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.expert-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.expert-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

.expert-header .btn-back {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

.expert-header .btn-back:hover {
    background-color: rgba(255,255,255,0.3);
}

/* ============================================
   Admin Page
   ============================================ */
.admin-container {
    min-height: 100vh;
    background-color: #F9FAFB;
}

.admin-header {
    background-color: var(--text);
    color: white;
    padding: 2rem 0;
}

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

.admin-header h1 {
    font-size: 2rem;
    color: white;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid var(--border);
}

.admin-tab {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.admin-tab:hover {
    color: var(--primary);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-section {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.admin-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--text);
}

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

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.admin-table thead {
    background-color: #F9FAFB;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-weight: 600;
    color: var(--text);
}

.admin-table td {
    color: var(--text-light);
}

.admin-table tbody tr:hover {
    background-color: #F9FAFB;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-pending {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-approved {
    background-color: #D1FAE5;
    color: #065F46;
}

.status-rejected {
    background-color: #FEE2E2;
    color: #991B1B;
}

/* ============================================
   Responsive Updates
   ============================================ */
@media (max-width: 768px) {
    .nav-actions .btn-expert {
        display: none;
    }

    .step-nav-buttons {
        flex-direction: column;
    }

    .step-nav-buttons .btn-secondary,
    .step-nav-buttons .btn-lg {
        width: 100%;
    }

    .checkbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-tabs {
        overflow-x: auto;
    }

    .admin-tab {
        min-width: 150px;
    }

    .expert-header .btn-back {
        position: static;
        margin-bottom: 1rem;
    }
}