/**
 * FPA Fertilizer Importation Database System
 * Authentication & Login Page Styles
 */

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #0b0f19 0%, #121829 50%, #0d1322 100%);
    color: #e5e7eb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    margin: 0;
}

.login-card {
    background: #121829;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 440px;
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #0f2b1d 0%, #1b4332 100%);
    color: white;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.login-header img {
    height: 72px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.login-header h4, .login-header h5 {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
    letter-spacing: 0.5px;
}

.login-header p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin: 0;
}

.login-body {
    padding: 2.25rem 2rem 2rem;
}

.form-group-custom {
    margin-bottom: 1.25rem;
}

.form-label-custom {
    font-size: 0.85rem;
    font-weight: 500;
    color: #d1d5db;
    margin-bottom: 0.5rem;
    display: block;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper .input-icon {
    position: absolute;
    left: 1.1rem;
    color: #6b7280;
    font-size: 1.05rem;
    z-index: 5;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-wrapper .form-control {
    background-color: #080c16;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #ffffff;
    padding: 0.75rem 1rem 0.75rem 2.8rem;
    font-size: 0.95rem;
    height: 48px;
    transition: all 0.2s ease;
}

.input-wrapper .form-control::placeholder {
    color: #6b7280;
}

.input-wrapper .form-control:focus {
    border-color: #2d6a4f;
    background-color: #080c16;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.25);
}

.input-wrapper:focus-within .input-icon {
    color: #52b788;
}

.input-wrapper .form-control:-webkit-autofill,
.input-wrapper .form-control:-webkit-autofill:hover,
.input-wrapper .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #080c16 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-login {
    background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 67, 50, 0.35);
}

.btn-login:hover {
    background: linear-gradient(135deg, #143628 0%, #1b4332 100%);
    box-shadow: 0 6px 20px rgba(27, 67, 50, 0.45);
    color: white;
    transform: translateY(-1px);
}
