﻿/* ===============================
   GLOBAL RESET
================================ */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
}

/* ===============================
   MAIN CONTAINER
================================ */
.login-container {
    display: flex;
    height: 100vh;
}

/* ===============================
   LEFT SECTION
================================ */
.left-section {
    width: 40%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

/* ===============================
   RIGHT SECTION
================================ */
.right-section {
    width: 60%;
    background-color: #1D1D47;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 85% auto;
}

/* ===============================
   LOGIN CARD
================================ */
.card {
    width: 450px;
    background: #ffffff;
    padding: 40px;
    position: relative;
    box-shadow: none;
}

    .card .mail,
    .card .profile-pic,
    .card .card-title {
        display: none;
    }

/* ===============================
   LOGO SECTION
================================ */
.logo-container {
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 40px;
    border-radius: 12px;
}

.logo-img {
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* ===============================
   TEXT CONTENT
================================ */
.name {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    text-align: center;
}

.about-me {
    display: block;
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 30px;
    text-align: center;
}

/* ===============================
   FORM
================================ */
.login-form {
    color: #333333;
}

.modern-form-group {
    margin-bottom: 20px;
}

    .modern-form-group label {
        display: block;
        font-size: 0.875rem;
        color: #000000;
        margin-bottom: 8px;
    }

.modern-input {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    background: #F5F5F5;
    border: none;
    border-radius: 6px;
    color: #333333;
}

    .modern-input::placeholder {
        color: #999999;
    }

    .modern-input:focus {
        outline: none;
    }

/* ===============================
   PASSWORD FIELD
================================ */
.password-wrapper {
    position: relative;
}

    .password-wrapper .modern-input {
        padding-right: 40px;
    }

.eye-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666666;
}

    .eye-toggle.active svg {
        stroke: #000000;
    }

/* ===============================
   LOGIN BUTTON
================================ */
.modern-btn {
    width: 100%;
    padding: 14px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
}

    .modern-btn:hover {
        background: #333333;
    }

/* ===============================
   LOADER OVERLAY
================================ */
#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    #loaderOverlay .logo-img {
        width: 120px;
        height: auto;
        border-radius: 50%;
        border: 4px solid #DF1B54;
        padding: 10px;
        animation: spin 2s linear infinite;
    }
/* ===============================
   HIDE EDGE DEFAULT PASSWORD REVEAL
================================ */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none !important;
}
/* ===============================
   ANIMATIONS
================================ */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
