:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-carritos: #3b82f6; /* Blue */
    --accent-bitso: #10b981;    /* Emerald */
    --danger: #ef4444;
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.control-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.control-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 20px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.status-on .status-dot {
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.toggle-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

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

/* Specific Styles */
.carritos-card .icon-wrapper {
    color: var(--accent-carritos);
    background: rgba(59, 130, 246, 0.1);
}

.carritos-card .toggle-btn.active {
    background: var(--accent-carritos);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.bitso-card .icon-wrapper {
    color: var(--accent-bitso);
    background: rgba(16, 185, 129, 0.1);
}

.bitso-card .toggle-btn.active {
    background: var(--accent-bitso);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}
