/* Color theme overrides (plain CSS, not processed by Tailwind).
   Applied via data-color-theme attribute set by layouts/app.php JS. */

html[data-color-theme="ocean"] {
    --theme-primary-50: #eef4ff;
    --theme-primary-100: #dbe8ff;
    --theme-primary-300: #93b4ff;
    --theme-primary-600: #0b57d0;
    --theme-primary-700: #0842a0;
}

html[data-color-theme="emerald"] {
    --theme-primary-50: #ecfdf5;
    --theme-primary-100: #d1fae5;
    --theme-primary-300: #6ee7b7;
    --theme-primary-600: #059669;
    --theme-primary-700: #047857;
}

html[data-color-theme="violet"] {
    --theme-primary-50: #f5f3ff;
    --theme-primary-100: #ede9fe;
    --theme-primary-300: #c4b5fd;
    --theme-primary-600: #7c3aed;
    --theme-primary-700: #6d28d9;
}

html[data-color-theme="amber"] {
    --theme-primary-50: #fffbeb;
    --theme-primary-100: #fef3c7;
    --theme-primary-300: #fcd34d;
    --theme-primary-600: #d97706;
    --theme-primary-700: #b45309;
}

html[data-color-theme] .bg-primary-50 {
    background-color: var(--theme-primary-50, #eef4ff);
}

html[data-color-theme] .bg-primary-100 {
    background-color: var(--theme-primary-100, #dbe8ff);
}

html[data-color-theme] .bg-primary-600 {
    background-color: var(--theme-primary-600, #0b57d0);
}

html[data-color-theme] .hover\:bg-primary-700:hover {
    background-color: var(--theme-primary-700, #0842a0);
}

html[data-color-theme] .text-primary-600 {
    color: var(--theme-primary-600, #0b57d0);
}

html[data-color-theme] .text-primary-700 {
    color: var(--theme-primary-700, #0842a0);
}

html[data-color-theme] .focus\:ring-primary-500:focus {
    --tw-ring-color: var(--theme-primary-600, #0b57d0);
}

html.dark[data-color-theme] .bg-primary-50 {
    background-color: color-mix(in srgb, var(--theme-primary-600, #0b57d0) 25%, #111827);
}

html.dark[data-color-theme] .bg-primary-100 {
    background-color: color-mix(in srgb, var(--theme-primary-600, #0b57d0) 35%, #111827);
}

html.dark[data-color-theme] .text-primary-600,
html.dark[data-color-theme] .text-primary-700 {
    color: var(--theme-primary-300, #93b4ff);
}
