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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    background: #fff;
}

/* ================= WRAPPER ================= */
.login-wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ================= LEFT : LOGIN ================= */
.login-left {
    width: 35%;
    display: flex;
    align-items: center;
    justify-content: center;
  
}

.login-card {
    width: 400px;
      background: white;
    padding: 45px;
    border-radius: 15px;
        z-index: 999;
}

.logo-inner {
    text-align: center;
    margin-bottom: 12px;
}

.logo-inner img {
    width: 70px;
}

.form-heading {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
}

.form-sub {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.form-control {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    padding: 10px 14px;
    font-size: 15px;
}

.password-wrap {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 14px;
    top: 50% !important;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6b7280;
}

.btn-login {
    width: 100%;
    height: 48px;
    background: #e11e25;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

.btn-login:hover {
    background: #000;
}

/* ================= RIGHT : BACKGROUND ================= */
.login-right {
    width: 65%;
    position: relative;
    background: url("admin_assets/images/logo/bg-login.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 80px;
}

  .overlay {
    position: absolute;
    inset: 0;
background: linear-gradient(90deg, #6c0206ba, #6c0206b8)
}

.right-content {
    position: relative;
    max-width: 650px;
    color: #fff;
}

.right-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.right-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 25px;
}

/* ================= LOGOS ================= */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 35px;
}

.logo-grid img {
    width: 90px;
    filter: brightness(0) invert(1);
}

/* ================= VALIDATION ================= */
.form-control.is-invalid {
    border-color: #dc2626;
}

.invalid-feedback {
    font-size: 12px;
    color: #dc2626;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
    .login-wrapper {
        flex-direction: column;
    }

    .login-left,
    .login-right {
        width: 100%;
    }

    .login-right {
        min-height: 300px;
        padding: 40px;
    }
}

.form-control.is-valid,
.form-control.is-invalid {
    background-image: none !important;
    
    padding-right: 0.75rem;
    
}
 

.form-control.is-invalid {
    background-image: none !important;
}
