.input-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.dark .input-field {
    border-color: #374151;
    background: #1f2937;
    color: #f3f4f6;
}

.input-field:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px #6366f1;
}

.btn-primary {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: #4f46e5;
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #4338ca;
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s;
}

.dark .btn-secondary {
    background: #1f2937;
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.dark .btn-secondary:hover {
    background: #374151;
}

.card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}

.dark .card {
    background: #111827;
    border-color: #1f2937;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
}

.dark .stat-card {
    background: #111827;
    border-color: #1f2937;
}

.status-pending { color: #ca8a04; font-size: 0.75rem; font-weight: 500; }
.dark .status-pending { color: #facc15; }
.status-success { color: #16a34a; font-size: 0.75rem; font-weight: 500; }
.dark .status-success { color: #4ade80; }
.status-failed  { color: #ef4444; font-size: 0.75rem; font-weight: 500; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-fade-in { animation: fadeIn 0.4s ease-out; }
.animate-slide-in { animation: slideIn 0.3s ease-out; }
.flash-message { animation: slideIn 0.3s ease-out; }

.action-btn {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    background: #f3f4f6;
    color: #374151;
    transition: background 0.2s;
}

.dark .action-btn {
    background: #374151;
    color: #e5e7eb;
}

.action-btn:hover {
    background: #e5e7eb;
}

.dark .action-btn:hover {
    background: #4b5563;
}

.action-btn-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.action-btn-danger:hover {
    background: #fecaca;
}

.action-btn-success {
    background: #dcfce7;
    color: #15803d;
}

.action-btn-success:hover {
    background: #bbf7d0;
}

.code-block {
    background: #1e1e2e;
    color: #cdd6f4;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-tab.active {
    background: #4f46e5;
    color: #fff;
}

.code-tab {
    background: #f3f4f6;
    color: #374151;
}

.dark .code-tab {
    background: #374151;
    color: #e5e7eb;
}
