﻿
body {
    background-color: #f8fafc;
}

.app-input {
    border: 0;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    color: #0f172a;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.app-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.app-input:focus,
.app-input:focus-visible {
    background-color: #ffffff !important;
    box-shadow: 0 0 0 2px #8b5cf6;
    outline: none;
}

.app-date {
    appearance: none;
    -webkit-appearance: none;
    color-scheme: light;
}

.app-date::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: .55;
    filter: invert(45%) sepia(8%) saturate(440%) hue-rotate(178deg) brightness(95%);
    margin-left: 4px;
}

.app-date::-webkit-datetime-edit,
.app-date::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

.app-date::-webkit-inner-spin-button,
.app-date::-webkit-clear-button {
    display: none;
}

.app-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px;
    padding-right: 2rem !important;
}

.app-select::-moz-focus-inner {
    border: 0;
}

.app-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #0f172a;
}


.border-amber-200 {
    --tw-border-opacity: 1;
    border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}

.btn-contained {
    background: #334155;
    color: #fff;
    transition: background 0.2s, box-shadow 0.2s;
}

.btn-contained:hover {
    background: #1e293b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-outlined {
    border: 1px solid #cbd5e1;
    color: #334155;
    background: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.btn-outlined:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.animate-fade-in {
    animation: app-fade-in .35s ease-out both;
}

.fade-delay-1 {
    animation-delay: .05s;
}

.fade-delay-2 {
    animation-delay: .10s;
}

.fade-delay-3 {
    animation-delay: .15s;
}

.fade-delay-4 {
    animation-delay: .20s;
}

.fade-delay-5 {
    animation-delay: .25s;
}

.fade-delay-6 {
    animation-delay: .30s;
}

@keyframes app-fade-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .animate-fade-in {
        animation: none;
    }
}

.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

html, :host {
    font-family: 'Inter', system-ui, sans-serif;
}

.material-symbols-outlined.text-xs {
    font-size: 12px;
}

.material-symbols-outlined.text-sm {
    font-size: 14px;
    line-height: 1.75rem
}

.material-symbols-outlined.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem
}

.material-symbols-outlined.text-base {
    font-size: 1rem;
    line-height: 1rem;
}

.text-2xl {
    line-height: 2rem;
}

.material-symbols-outlined.text-2xl {
    font-size: 1.5rem;
}

.material-symbols-outlined.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.filled-field {
    color: #0f172a;
    border: 0;
    border-bottom: 1px solid #0f172a;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    transition: background-color .15s ease, box-shadow .15s ease;
}

.filled-field::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.filled-field:focus {
    background: #e2e8f0;
    outline: 1.5px solid #3b82f6;
    border-bottom: 1px solid #3b82f6;
}

.icon-filled {
    font-variation-settings: 'FILL' 1;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}