/* ============================================
   Bovinorte - Auth Pages Styles
   Theme: Navy Blue (rgb(3, 22, 49)) + Green (rgb(92, 149, 94))
   ============================================ */

/* Background gradient with logo colors */
.bg-gradient-bovinorte {
    background: linear-gradient(135deg, rgb(3, 22, 49) 0%, rgb(5, 35, 70) 50%, rgb(8, 45, 85) 100%);
    min-height: 100vh;
    position: relative;
}

.bg-gradient-bovinorte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(92, 149, 94, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(92, 149, 94, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.card {
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.card-header {
    border-bottom: none;
    background: linear-gradient(90deg, rgb(3, 22, 49) 0%, rgb(5, 35, 70) 100%) !important;
}

/* Logo container */
.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.auth-logo img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.auth-logo .brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
}

.auth-logo .brand-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-top: 0.25rem;
}

/* Form controls with Bovinorte theme */
.form-control:focus {
    border-color: rgb(92, 149, 94);
    box-shadow: 0 0 0 0.2rem rgba(92, 149, 94, 0.25);
}

.btn-primary {
    background-color: rgb(3, 22, 49);
    border-color: rgb(3, 22, 49);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: rgb(5, 35, 70);
    border-color: rgb(5, 35, 70);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:active,
.btn-primary:focus {
    background-color: rgb(2, 15, 35);
    border-color: rgb(2, 15, 35);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
    color: rgb(3, 22, 49);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: none;
}

/* Links with green accent */
a {
    color: rgb(92, 149, 94);
    transition: color 0.2s;
}

a:hover {
    color: rgb(72, 129, 74);
}

/* Card footer */
.card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Toggle password button */
.btn-outline-secondary {
    color: rgb(3, 22, 49);
    border-color: #dee2e6;
}

.btn-outline-secondary:hover {
    background-color: rgb(3, 22, 49);
    border-color: rgb(3, 22, 49);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-logo img {
        width: 60px;
        height: 60px;
    }
    
    .auth-logo .brand-name {
        font-size: 1.5rem;
    }
}
