:root {
    --abptgic-surface: #fdfdfd;
    --abptgic-surface-soft: #ffffff;
    --abptgic-border: #dde7e2;
    --abptgic-accent: #326b5a;
    --abptgic-accent-dark: #245043;
    --abptgic-accent-soft: rgba(50, 107, 90, 0.08);
    --abptgic-text: #3f4742;
    --abptgic-muted: #6c7a73;
}

.abptgic-boleto-form {
    max-width: 440px;
    padding: 2rem;
    margin: 0 auto 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 251, 0.98));
    border: 1px solid var(--abptgic-border);
    color: var(--abptgic-text);
    box-shadow: 0 25px 40px rgba(9, 28, 22, 0.08);
}

.abptgic-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--abptgic-muted);
}

.abptgic-input {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid var(--abptgic-border);
    background: var(--abptgic-surface-soft);
    color: var(--abptgic-text);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.abptgic-input:focus {
    outline: none;
    border-color: var(--abptgic-accent);
    box-shadow: 0 0 0 3px rgba(50, 107, 90, 0.25);
}

.abptgic-button {
    margin-top: 1.25rem;
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid var(--abptgic-accent);
    background: var(--abptgic-accent);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.abptgic-button:hover {
    transform: translateY(-1px);
    background: var(--abptgic-accent-dark);
    border-color: var(--abptgic-accent-dark);
    box-shadow: 0 18px 30px rgba(36, 80, 67, 0.35);
}

.abptgic-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(50, 107, 90, 0.35);
}

.abptgic-feedback {
    min-height: 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--abptgic-muted);
}

.abptgic-feedback[data-state='error'] {
    color: #e36060;
}

.abptgic-feedback[data-state='loading'] {
    color: var(--abptgic-accent);
}

.abptgic-results {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: var(--abptgic-surface-soft);
    border: 1px solid var(--abptgic-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.abptgic-boleto-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.abptgic-boleto-item {
    padding: 1.1rem;
    border-radius: 0.85rem;
    background: var(--abptgic-accent-soft);
    border: 1px solid rgba(50, 107, 90, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.abptgic-boleto-meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: var(--abptgic-muted);
}

.abptgic-boleto-link {
    align-self: flex-start;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    background: var(--abptgic-accent);
    border: 1px solid var(--abptgic-accent);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.abptgic-boleto-link:hover {
    background: var(--abptgic-accent-dark);
    border-color: var(--abptgic-accent-dark);
    color: white
}

@media (max-width: 480px) {
    .abptgic-boleto-form {
        margin: 1.5rem 1rem;
        padding: 1.5rem;
    }

    .abptgic-boleto-meta {
        font-size: 0.9rem;
    }
}
