/* =============================================================================
   Login Page — Stylesheet
   Brand: SecureWay Financial
   Colors: #0A8BD1 (Blue) · #013D6F (Navy) · #011E3A (Dark Navy) · #0074B5 (Blue Dark)
   Font: Montserrat
   ============================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #011E3A 0%, #013D6F 55%, #0A4A8A 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* --- Login Card ------------------------------------------------------------ */
.login-container, .login-box {
    background-color: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
    text-align: center;
    width: 100%;
    max-width: 420px;
    padding: 48px 42px 38px;
    position: relative;
    overflow: hidden;
}

/* Blue accent bar at the top of the card */
.login-container::before, .login-box::before {
    content: '';
    background: linear-gradient(90deg, #0A8BD1, #0074B5, #013D6F);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

/* --- Logo ------------------------------------------------------------------ */
.logo {
    margin-bottom: 20px;
}

.logo img {
    height: auto;
    width: 200px;
}

/* --- Form ------------------------------------------------------------------ */
form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 14px;
}

label {
    margin-top: 4px;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #BFDFEF;
    border-radius: 8px;
    background: #E6F4FB;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #0D1B2A;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #0A8BD1;
    box-shadow: 0 0 0 3px rgba(10, 139, 209, 0.12);
    background: #fff;
}

input[type="submit"] {
    background: linear-gradient(135deg, #0A8BD1, #013D6F);
    display: block;
    color: white;
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: opacity 0.18s ease, transform 0.1s, box-shadow 0.18s ease;
}

input[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 139, 209, 0.35);
}

input[type="submit"]:active {
    transform: translateY(0);
}

/* --- Page Title ------------------------------------------------------------ */
.page-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #013D6F;
    padding: 1px;
    text-align: center;
    margin: 0 0 24px;
}

/* --- Error Message --------------------------------------------------------- */
.error-message {
    background-color: #fef2f2;
    color: #c0392b;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 12px;
    text-align: left;
}

/* --- Forgot Password ------------------------------------------------------- */
.forgot-password {
    margin-top: 20px;
    font-size: 13px;
}

.forgot-password a {
    color: #013D6F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.forgot-password a:hover {
    color: #0A8BD1;
}

/* --- Download Button ------------------------------------------------------- */
.download-button {
    display: block;
    width: 83%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #013D6F;
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 10px auto 0;
}

.download-button:hover {
    background-color: #0A8BD1;
}
