/* Atirador Legal - Login page - Tech/Matrix theme */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    background: #000000;
    color: #00ff41;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-container h1 {
    margin: 0.5rem 0 0;
    font-size: 1.5rem;
    color: #00ff41;
}

.logo-svg {
    width: 120px;
    height: 120px;
}

.intro-text {
    max-width: 360px;
    text-align: justify;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #33ff66;
}

.login-card {
    background: #000000;
    border: 1px solid #0d7377;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 360px;
}

.login-card h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #00ff41;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #33ff66;
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #0d7377;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: #000000 !important;
    color: #00ff41;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #000000 inset !important;
    box-shadow: 0 0 0 1000px #000000 inset !important;
    -webkit-text-fill-color: #00ff41 !important;
    caret-color: #00ff41;
}

.form-group input:focus {
    outline: none;
    border-color: #00ff41;
}

.form-group input::placeholder {
    color: #6b7280;
}

.error-msg {
    background: rgba(220, 38, 38, 0.2);
    color: #f87171;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border: 1px solid #dc2626;
}

.rate-limit-msg {
    background: rgba(234, 179, 8, 0.2);
    color: #fbbf24;
    padding: 0.75rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #b45309;
}

.btn-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border: 1px solid #00ff41;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary {
    background: transparent;
    color: #00ff41;
}

.btn-primary:hover {
    background: rgba(0, 255, 65, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #33ff66;
    border-color: #0d7377;
}

.btn-secondary:hover {
    background: rgba(13, 115, 119, 0.2);
}
