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

body.login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #2b619d; /* Blue background */
    font-family: 'Poppins', sans-serif;
    background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
                      radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
}

.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-container {
    display: flex;
    width: 1000px;
    height: 600px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.login-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.3);
}

/* LEFT PANE */
.login-left {
    width: 45%;
    background-color: #1a4d8c; /* Darker blue */
    position: relative;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* Center horizontally */
    text-align: center; /* Center text */
    color: #fff;
    overflow: hidden;
    z-index: 2;
}

/* Circles in left pane */
.login-left::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #2566b6 0%, #154580 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.login-left::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 40%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #2566b6 0%, #154580 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.circle-3 {
    position: absolute;
    top: -15%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #2a73cc 0%, #1a4d8c 100%);
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}


.login-logo {
    width: 150px; /* Slightly larger for center focus */
    height: 150px; /* Equal to width for perfect circle */
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Ensure image fits nicely */
    background-color: #fff; /* In case the logo has transparent parts, make background white */
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); /* Replace drop-shadow with box-shadow for circle */
}

.welcome-text {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    text-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.intro-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e0ecff;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1.5;
    text-align: center;
}

.sub-intro {
    font-size: 12px;
    font-weight: 400;
    color: #a4c4ed;
    line-height: 1.6;
    text-align: center;
    max-width: 90%;
}


/* RIGHT PANE */
.login-right {
    width: 55%;
    background: #fff;
    padding: 60px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.login-title {
    color: #333;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.login-subtitle {
    color: #888;
    font-size: 12px;
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

.input-field {
    display: flex;
    align-items: center;
    background-color: #f4f6f9;
    border-radius: 10px;
    padding: 12px 20px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.input-field:hover, .input-field:focus-within {
    border-color: rgba(26, 77, 140, 0.3);
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(26, 77, 140, 0.08);
    transform: translateY(-2px);
}

.input-field .icon {
    color: #666;
    font-size: 16px;
    margin-right: 15px;
}

.input-field input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.input-field input::placeholder {
    color: #aaa;
    font-weight: 400;
}

.show-password {
    color: #1a4d8c;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 12px;
    font-weight: 500;
}

.remember-me {
    display: flex;
    align-items: center;
    color: #555;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    cursor: pointer;
}

.forgot-password {
    color: #1a4d8c;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-btn-container {
    text-align: center;
}

.login-btn {
    width: 100%;
    background-color: #1a4d8c;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 77, 140, 0.2);
}

.login-btn:hover {
    background-color: #154580;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 77, 140, 0.4);
}

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #aaa;
    font-size: 12px;
}

.or-divider::before, .or-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eee;
}

.or-divider::before {
    margin-right: .5em;
}

.or-divider::after {
    margin-left: .5em;
}

.login-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.login-footer a {
    color: #1a4d8c;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 12px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 13px;
    text-align: center;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
