:root {
    --za-azul-900: #0a2e42;
    --za-azul-800: #0f4c6b;
    --za-azul-600: #2c8fcf;
    --za-verde-600: #2aa17c;
    --za-fundo: #f0f4f8;
}

body {
    background: radial-gradient(circle at top right, #eef7fb, #f0f4f8);
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.login-card {
    background: #fff;
    width: 100%;
    max-width: 380px;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(10, 46, 66, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centraliza todos os filhos horizontalmente */
    text-align: center;
}

.logo-login {
    width: 120px;
    margin-bottom: 1.5rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.login-card h1 {
    font-size: 1.4rem;
    color: var(--za-azul-900);
    margin-bottom: 0.5rem;
    width: 100%;
}

.login-card p {
    color: #618093;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    width: 100%;
}

#form-login {
    width: 100%;
    /* Garante que o formulário ocupe toda a largura útil do card */
}

.form-group {
    text-align: left;
    /* Mantém labels alinhados à esquerda para leitura natural */
    margin-bottom: 1.2rem;
    width: 100%;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--za-azul-800);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input {
    width: 100%;
    padding: 1rem;
    background: #f9fbfe;
    border: 2px solid #e1eaf0;
    border-radius: 16px;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    /* Impede que o padding quebre a largura */
    transition: all 0.3s ease;
}

input:focus {
    border-color: var(--za-azul-600);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(44, 143, 207, 0.1);
}

button {
    width: 100%;
    padding: 1.1rem;
    background: var(--za-azul-900);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
    box-sizing: border-box;
    transition: filter 0.2s;
}

button:hover {
    filter: brightness(1.2);
}

.subscriber-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eef2f6;
    transition: background 0.2s;
}

.subscriber-item.highlight-teste {
    background: #fffbeb;
    border-left: 4px solid #e6a700;
}

.sub-info strong {
    display: block;
    font-size: 0.95rem;
    color: #0a2e42;
}

.sub-info span,
.sub-info small {
    display: block;
    font-size: 0.8rem;
    color: #618093;
    margin-top: 2px;
}

.badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-teste {
    background: #fef3c7;
    color: #b45309;
}

.badge-ativo {
    background: #dcf4ea;
    color: #2aa17c;
}

.subscriber-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    gap: 15px;
    transition: background 0.2s;
}

.subscriber-item.highlight-teste {
    background: #fffbeb;
    border-left: 4px solid #eab308;
}

.subscriber-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f4c6b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.subscriber-info {
    flex: 1;
    min-width: 0;
}

.subscriber-info .name {
    font-weight: 700;
    color: #0a2e42;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subscriber-info .detail {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 3px;
}

.subscriber-time {
    font-size: 0.8rem;
    color: #475569;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.subscriber-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.subscriber-status.active {
    background: #22c55e;
}

.subscriber-status.pending {
    background: #eab308;
}