@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --secondary: #7c3aed;
    --dark: #111827;
    --darker: #0f172a;
    --dark-light: #1e293b;
    --gray: #6b7280;
    --light: #f3f4f6;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #2d3748;
}

th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #a0aec0;
}

tr:hover {
    background-color: rgba(74, 85, 104, 0.1);
}

/* Transaction status badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-queue {
    background-color: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.badge-sent {
    background-color: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.badge-failed {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Card styles */
.card {
    background-color: var(--darker);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-header {
    padding: 1rem 1.5rem;
    background-color: rgba(30, 41, 59, 0.5);
    border-bottom: 1px solid #1e293b;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

/* Form elements */
input, textarea, select {
    background-color: #1e293b;
    border: 1px solid #334155;
    color: white;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    width: 100%;
    transition: all 0.2s;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* Transition effects */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}