/* static/css/style.css */

.glass {
    backdrop-filter: blur(12px);
    background: rgba(15, 23, 42, 0.85);
}

.loader {
    border-top-color: #fbbf24;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Classes utilitárias para Inputs */
.input-primary {
    width: 100%;
    background-color: #020617;
    border: 1px solid #1e293b;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    color: white;
    transition: all 0.2s;
}
.input-primary:focus {
    border-color: #fbbf24;
    outline: none;
    box-shadow: 0 0 0 1px #fbbf24;
}

.input-dark {
    width: 100%;
    background-color: #020617;
    border: 1px solid #334155;
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    color: white;
    font-size: 0.9rem;
    outline: none;
}
.input-dark:focus {
    border-color: #10b981;
}

.btn-primary {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    color: #0f172a;
    font-weight: bold;
    border-radius: 0.75rem;
    padding: 0.75rem;
    transition: transform 0.1s;
}
.btn-primary:hover {
    filter: brightness(1.1);
}
.btn-primary:active {
    transform: scale(0.98);
}

.label-input {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-card {
    background-color: #1e293b;
    border-radius: 1rem;
    border-width: 1px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-header {
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Remove setas de input number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}