/* public/assets/css/auth.css */

body { 
    background-color: #ffffff; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    padding: 20px; 
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Tighter container width */
.auth-container {
    width: 100%;
    max-width: 380px; /* Slightly narrower */
    margin-top: 2vh;
}

/* Compact Header */
.auth-header {
    text-align: center;
    margin-bottom: 20px;
}
.auth-header img {
    height: 40px; /* Smaller logo */
    margin-bottom: 10px;
}
.auth-header h2 {
    font-size: 1.25rem; /* Smaller heading */
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
}
.auth-header p {
    font-size: 0.8rem;
    color: #64748b;
}

/* Smaller Labels */
.form-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}
.required-star {
    color: #ef4444;
    margin-left: 2px;
}

/* Tighter Inputs */
.input-group {
    background-color: #f1f5f9;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.input-group:focus-within {
    background-color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group-text { 
    background-color: transparent; 
    border: none;
    color: #94a3b8;
    padding-left: 12px;
    padding-right: 8px;
    font-size: 0.85rem;
}

.form-control { 
    background-color: transparent; 
    border: none;
    font-size: 0.85rem; /* Smaller input text */
    padding: 8px 10px 8px 0; /* Shorter height */
    color: #0f172a;
    box-shadow: none !important;
}

.form-control::placeholder {
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Password Toggle */
.password-toggle {
    cursor: pointer;
    color: #94a3b8;
    padding-right: 12px;
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}
.password-toggle:hover {
    color: #3b82f6;
}

/* Forgot Password Link */
.forgot-link {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    color: #64748b;
    text-decoration: none;
    margin-top: 5px;
    margin-bottom: 15px;
}
.forgot-link:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Smaller Button */
.btn-primary {
    background-color: #3b82f6; 
    border: none;
    border-radius: 6px;
    padding: 10px; /* Shorter button */
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
}
.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

/* Footer spacing */
.auth-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #64748b;
}
.auth-footer a {
    color: #3b82f6;
    font-weight: 600;
    text-decoration: none;
}

/* Secure Login Indicator */
.secure-badge {
    text-align: center;
    margin-top: 20px;
    font-size: 0.75rem;
    color: #10b981;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Adjust form margins globally */
.mb-3 {
    margin-bottom: 0.75rem !important;
}
.mb-4 {
    margin-bottom: 1rem !important;
}