﻿@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-family: "Open Sans", sans-serif !important;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f7fa;
}

.login-form-box {
    background-color: #ffffff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    padding: 2rem;
    border-radius: 1rem;
    margin: 0px auto;
    width: 500px;
}

.title-section img {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #0b2567;
    border-radius: 0.75rem;
    padding: 6px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.title-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.icon-field { 
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    margin-left: 15px;
}

.input-field-group label {
    font-weight: 500 !important;
    color: #374151;
}

.form-control {
    border: 1px solid #d1d5db;
    background-color: #f2f7fc;
    padding: 10px 15px 10px 45px;
    height: 50px;
    border-radius: 0.75rem;
}

.form-control:focus {
    background-color: #f2f7fc;
    border: 1px solid #0b2567;
    box-shadow: 0 0 0 3px rgb(11 37 103 / 0.2);
}

.input-field-group .material-symbols-outlined {
    color: #9ca3af;
}

.input-field-group .text-danger {
    color: #f53648 !important;
    font-size: 15px;
    font-weight: 500 !important;
    text-align: right;
    top: 2px;
    position: relative;
    right: 0px;
}

.eye-toggle-field {
    position: absolute;
    right: 45px;
    color: #0b2567;
}

.forgot-password-sec {
    margin: 1.5rem 0px;
    display: flex;
    justify-content: space-between;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #0b2567;
    border-radius: 4px;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"] {
    display: none;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #0b2567;
    border-color: #0b2567;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "✓";
    position: absolute;
    top: -5px;
    left: 2px;
    font-size: 14px;
    color: #fff;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 0px !important;
}

.remember-text {
    font-weight: 500 !important;
    color: #0b2567;
    font-size: 15px;
    line-height: 1rem;
}

.forgot-link {
    color: #0b2567;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-link {
    color: #0b2567;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-align: center;
}

.forgot-link:hover, .login-link:hover {
    color: #ea0029;
    text-decoration: underline;
}

.login-btn {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 200ms ease;
    background-color: #ea0029;
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(234 0 41 / 15%), 0 2px 4px -2px rgb(234 0 41 / 15%);
}

.login-btn:hover {
    background-color: #0b2567;
}

.login-btn:focus {
    outline: none;
}
