/* Color Palette from EQS Design */
:root {
    --primary-color: #E91E63;
    --primary-hover: #C2185B;
    --secondary-color: #5E72E4;
    --bg-color: #F5F7FA;
    --card-bg: #FFFFFF;
    --text-primary: #1E1E1E;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    --success-color: #10B981;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    min-height: 100vh;
}

/* Header */
header {
    background: var(--card-bg);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.support-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.icon {
    font-size: 1rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.welcome-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.welcome-card h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.provider-selection h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

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

.provider-card {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.provider-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(233, 30, 99, 0.15);
}

.provider-icon {
    margin-bottom: 1rem;
}

.provider-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.provider-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-color);
}

.help-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

/* Guide Pages */
.breadcrumb {
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.guide-header {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.guide-header h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
}

.progress-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed {
    background: var(--success-color);
    color: white;
}

.progress-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin: 0 0.5rem;
}

/* Step Cards */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: none;
}

.step-card.active {
    display: block;
}

.step-header {
    margin-bottom: 1.5rem;
}

.step-number {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.step-header h2 {
    font-size: 1.75rem;
}

.step-content {
    margin-bottom: 2rem;
}

.instructions {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.instructions li {
    margin-bottom: 0.75rem;
}

.instructions code {
    background: var(--bg-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Info Boxes */
.info-box, .warning-box, .success-box {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.info-box {
    background: #EFF6FF;
    border-left: 4px solid var(--info-color);
}

.warning-box {
    background: #FFFBEB;
    border-left: 4px solid var(--warning-color);
}

.success-box {
    background: #F0FDF4;
    border-left: 4px solid var(--success-color);
}

/* Config Box */
.config-box {
    background: var(--bg-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.config-item {
    margin-bottom: 1.5rem;
}

.config-item:last-child {
    margin-bottom: 0;
}

.config-item label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.copy-field {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.copy-field code {
    flex: 1;
    background: white;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.copy-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: var(--primary-hover);
}

/* Claims Table */
.claims-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

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

.claims-table th {
    background: var(--bg-color);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.claims-table code {
    background: var(--bg-color);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

/* Troubleshooting */
.troubleshooting-toggle {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.toggle-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
}

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

.troubleshooting-content {
    margin-top: 1rem;
    padding: 1.5rem;
    background: #FEF2F2;
    border-radius: 8px;
    border-left: 4px solid #EF4444;
}

.troubleshooting-content h4 {
    margin-bottom: 1rem;
    color: #991B1B;
}

.troubleshooting-content ul {
    margin-left: 1.5rem;
}

.troubleshooting-content li {
    margin-bottom: 0.75rem;
}

/* Step Actions */
.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-success:hover {
    background: #059669;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 0 1rem;
    }

    .welcome-card {
        padding: 2rem 1.5rem;
    }

    .provider-buttons {
        grid-template-columns: 1fr;
    }

    .step-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}