﻿body {
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.login-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}
.left-panel {
    flex: 1.2; /* Takes more space than the login form */
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}
    .blink, .left-panel strong {
        animation: blinker 2s linear infinite; /* Slightly slower for less eye strain */
        font-weight: bold;
        color: #10b981;
    }
.info-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.info-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
}

.side-img {
    width: 100%;
    max-width: 450px;
    margin-top: 30px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* BLINK ANIMATION */
.blink {
    animation: blinker 1.5s linear infinite;
    font-weight: bold;
    color: #7acb8c; /* Distinct color for HRMS */
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* RIGHT PANEL STYLES */
.right-panel {
    position: relative; /* This is crucial */
    flex: 0.8;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.top-right-logo {
    position: absolute;
    top: 20px; /* Distance from top */
    right: 20px; /* Distance from right */
    width: 120px; /* Small size */
    height: 120px;
    opacity: 0.8; /* Optional: makes it look more like a subtle watermark */
}
#logo-above {
    width: 180px;
    margin-bottom: 30px;
}

.login-container {
    width: 100%;
    max-width: 350px;
    padding: 20px;
}

    .login-container h2 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

/* rest of your form styles remain the same */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0 20px 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}

input[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

    input[type="submit"]:hover {
        background-color: #0056b3;
    }

.login-container label {
    font-size: 14px;
    color: #333;
    display: block; 
    text-align: left;
}
.info-text {
    max-width: 550px;
    text-align: left;
}
.left-panel p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}
.lead-text {
    font-size: 1.3rem !important;
    color: #ffffff !important;
    margin-bottom: 25px !important;
    font-weight: 600 !important;
}
.left-panel strong {
    color: #7acb8c; /* Matching the blinking HRMS color */
    font-weight: 600;
}
#spinner img {
    width: 100px;
    height: 100px;
}
#logo-above-left {
    width: 180px;
    /* This prevents the image from being squished */
    height: auto;
    /* Adds space above and below the logo */
    margin: 0 0 25px 0;
    /* Ensures it sits on its own line */
    display: block;
    /* Keeps it crisp */
    max-width: 100%;
}
@media (max-width: 900px) {
    #logo-above-left {
        width: 60px;
    }
    .top-right-logo {
        width: 50px;
        top: 15px;
        right: 15px;
    }
}
@keyframes blinker {
    50% {
        opacity: 0.3; 
    }
}