/**
 * IABUSCO Core Global Stylesheet.
 *
 * @package IABUSCO\Core
 */

/* Color Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --color-primary: #06b6d4; /* Cyan 500 */
    --color-primary-hover: #0891b2; /* Cyan 600 */
    --color-primary-light: #ecfeff;
    --accent-color: #06b6d4;
    --card-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.dark {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: #1e293b;
    --color-primary: #22d3ee; /* Cyan 400 */
    --color-primary-hover: #67e8f9; /* Cyan 300 */
    --color-primary-light: #164e63;
    --accent-color: #22d3ee;
    --card-bg: #0f172a;
}

/* Global Reset overrides for standard themes */
.iab-app-container {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    font-family: 'Inter', 'Outfit', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.iab-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.iab-input {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.iab-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px var(--color-primary-light);
    outline: none;
}

/* Custom Scrollbars */
.iab-app-container ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.iab-app-container ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
.iab-app-container ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}
.iab-app-container ::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Lucide Icon sizes */
.iab-icon {
    width: 1.25rem;
    height: 1.25rem;
}
.iab-icon-lg {
    width: 1.5rem;
    height: 1.5rem;
}

/* CSS Grid layouts custom utility */
.grid-cols-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
