/* ============================================================
   CUSTOM ERPNext / Frappe V16 LOGIN PAGE
   Nexity Consulting Style
   ============================================================ */

/* Hide default navbar */
.navbar,
.web-header,
nav.navbar {
    display: none !important;
}

/* Remove container spacing */
.page_content,
.container,
.page-content-wrapper,
main > .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================================
   MAIN WRAPPER
   ============================================================ */

.login-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* ============================================================
   LEFT PANEL (IMAGE + PURPLE OVERLAY)
   ============================================================ */

.login-left {
    flex: 1;

    /* Purple gradient overlay + image */
    background-image:
        /* linear-gradient(
            rgba(118, 70, 158, 0.85),
            rgba(40, 0, 70, 0.92)
        ), */
        url("/assets/dashboard/images/login_screen_right_image.jpeg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* color: #ffffff; */
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Logo */
.login-logo {
    width: 160px;
    margin-bottom: 60px;
}

/* Heading */
.login-left h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

/* Paragraph */
.login-left p {
    font-size: 18px;
    opacity: 0.85;
    line-height: 1.6;
}

/* Stats Section */
.login-stats {
    margin-top: 60px;
    font-size: 15px;
    opacity: 0.9;
}

.erp-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
  }

  .erp-brand-icon {
    width: 40px; height: 40px;
    background: var(--accent);
    border-radius: 10px;
    display: grid; place-items: center;
  }

  .erp-brand-icon svg { width: 22px; height: 22px; fill: #fff; }
/* ============================================================
   RIGHT PANEL (FORM SIDE)
   ============================================================ */

.login-right {
    flex: 1;
    background: #f8f8fb;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.login-box {
    width: 400px;
    max-width: 100%;
}

.login-box h2 {
    font-weight: 700;
    margin-bottom: 5px;
    color: #1a1a2e;
}

/* ============================================================
   FORM INPUTS
   ============================================================ */

.login-box .form-control {
    height: 45px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.login-box .form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.15);
    outline: none;
}

/* ============================================================
   LOGIN BUTTON (PURPLE)
   ============================================================ */

#login-btn {
    width: 100%;
    height: 48px;
    border-radius: 10px;
    background: #6f42c1;
    border: none;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.2s ease;
}

#login-btn:hover {
    background: #5905f6;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left {
        padding: 50px 30px;
        min-height: 250px;
        justify-content: flex-end;
    }

    .login-left h1 {
        font-size: 28px;
    }

    .login-right {
        padding: 40px 20px;
    }

    .login-box {
        width: 100%;
    }
}



.social-btn {
    display: block;
    width: 100%;
    border: 1.5px solid #ddd;
    height: 45px;
    border-radius: 8px;
    background: #ffffff;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.social-btn:hover {
    border-color: #aaa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 45px;
}

.eye-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;          /* Fix width */
    height: 24px;         /* Fix height */
}

.eye-icon:hover {
    color: #111827;
}