/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    color: #1e293b;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 560px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.logo {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.connector {
    font-size: 1.5rem;
    color: #64748b;
    font-weight: 300;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 1.125rem;
    color: #475569;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.description {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 300;
}

/* Main content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Provider cards */
.provider-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.provider-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.provider-card.connected {
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

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

.provider-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.provider-header h3 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #1e293b;
}

/* Buttons */
.connect-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.connect-btn.primary {
    background: #000000;
    color: white;
}

.connect-btn.primary:hover {
    background: #1e293b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.connect-btn.secondary {
    background: #3b82f6;
    color: white;
}

.connect-btn.secondary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

/* Form styles */
.combo-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 300px;
}

.api-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.api-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.api-input::placeholder {
    color: #9ca3af;
}

/* Setup status */
.setup-status {
    margin-top: 1.5rem;
    padding: 1rem;
    text-align: center;
    font-size: 0.875rem;
    color: #64748b;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: none; /* Hidden by default, shown by JavaScript when needed */
}

.setup-status:not(:empty) {
    display: block; /* Show when it has content */
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .container {
        padding: 1.5rem 1rem;
    }
    
    .logo-section {
        gap: 1rem;
    }
    
    .logo {
        height: 56px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .description {
        font-size: 0.875rem;
    }
    
    .provider-card {
        padding: 1.25rem;
    }
    
    .connector {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 1rem 0.75rem;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .connector {
        transform: rotate(90deg);
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .provider-card {
        padding: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Force light mode - no dark mode */
