/* IDENTIDADE VISUAL COGNITO */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html, body, .font-body, .font-headline {
    font-family: "Inter", sans-serif !important;
}

/* VARIÁVEIS DE CORES */
:root {
    --color-primary: #00e220;
    --color-secondary: #000a28;
}

/* FIM IDENTIDADE VISUAL COGNITO */

/* LOADING COGNITO */
.cognito-loading {
    position: fixed !important;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    z-index: 200000;
    background-color: rgba(255, 255, 255, 0.75);
}

.cognito-loading .loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cognito-loading .loading-message {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
}

/* FIM LOADING COGNITO */

/* BOTÕES COGNITO */
.btn {
    background: var(--color-primary);
    color: black;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 700;
    font-family: "Inter", sans-serif !important;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: bottom;
    user-select: none;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn i.pi {
    font-size: 1rem;
    color: black;
    flex-shrink: 0;
}

.btn:hover:not(:disabled) {
    background: rgba(0, 226, 32, 0.9);
    box-shadow: 0 2px 8px rgba(0, 226, 32, 0.3);
}

.btn:active:not(:disabled) {
    background: rgba(0, 200, 28, 0.95);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(1px);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--color-primary);
    box-shadow: none;
}

.btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 226, 32, 0.25);
}

.btn:focus:not(:focus-visible) {
    box-shadow: none;
}

.btn-small {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: "Inter", sans-serif !important;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.5;
    text-align: center;
    vertical-align: bottom;
    user-select: none;
    position: relative;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-small:hover:not(:disabled) {
    background: #5568d3;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-small:active:not(:disabled) {
    background: #4a5bc0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    transform: translateY(1px);
}

.btn-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-small:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-small:focus:not(:focus-visible) {
    box-shadow: none;
}
