/* =====================================
   LATC - PERFECT MATCH: 82% SCALE + CENTER 65%
===================================== */

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    color: #fff;
}


.lang-selector {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1000;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #d6aa42;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
}

.container {
    display: flex;
    width: 100%;
   min-height: calc(100vh - 58px);
    max-height: calc(100vh - 58px);
}

.left-panel {
    width: 65%;
    position: relative;
    overflow: hidden;
    background: #000;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #000;
}

.right-panel {
    width: 35%;
    min-width: 420px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000 !important;
    padding: 40px;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background-image: none !important;
    overflow: hidden;
   }

.login-card {
    width: 100%;
    max-width: 380px;
    background: #0a0a0a;
    border: 1px solid #d6aa42;
    border-radius: 20px;
    padding: 36px 32px;
    box-shadow: 0 0 80px rgba(17, 17, 17, 0.5);
    transform: scale(0.75);        
    transform-origin: center;     
    position: relative;            
    z-index: 10;                   
  }


.login-logo {
    text-align: center;
    margin-bottom: 24px;
}

.logo-box {
    width: 72px;
    height: 72px;
    background: transparent;
    border: 2px solid #d6aa42;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 0 40px rgba(214, 170, 66, 0.6);
}

.logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-card h2 {
    font-size: 32px;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
}

.login-subtitle {
    text-align: center;
    color: #9ca3af;
    font-size: 14px;
    margin-bottom: 28px;
    line-height: 20px;
}

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

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #f3f4f6;
    font-size: 13px;
    font-weight: 500;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-right {
    position: absolute;
    right: 14px;
    font-size: 16px;
    opacity: 0.6;
    pointer-events: none;
}

.input-icon-left {
    position: absolute;
    left: 14px;
    font-size: 16px;
    opacity: 0.6;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 14px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    background: #000000;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.input-group input[type="password"] {
    padding: 0 42px 0 42px;
}

.input-group input::placeholder {
    color: #4b5563;
}

.input-group input:focus {
    outline: none;
    border-color: #d6aa42;
    box-shadow: 0 0 20px rgba(214, 170, 66, 0.3);
}

.toggle-password {
    position: absolute;
    right: 14px;
    cursor: pointer;
    opacity: 0.6;
    font-size: 16px;
}

.toggle-password:hover {
    opacity: 1;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 24px 0;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #9ca3af;
}

.remember input {
    width: 16px;
    height: 16px;
    accent-color: #d6aa42;
    cursor: pointer;
}

.forgot {
    color: #d6aa42;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.forgot:hover {
    text-shadow: 0 0 10px rgba(214, 170, 66, 0.8);
}

.login-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #d6aa42;
    color: #000000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: #e5b855;
    box-shadow: 0 4px 20px rgba(214, 170, 66, 0.5);
}

.divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    color: #6b7280;
    font-size: 12px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #1f2937;
}

.divider span {
    padding: 0 12px;
}

.sso-btn {
    width: 100%;
    height: 48px;
    border: 1px solid #d6aa42;
    background: transparent;
    color: #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sso-btn:hover {
    background: rgba(214, 170, 66, 0.1);
    box-shadow: 0 0 20px rgba(214, 170, 66, 0.2);
}

.sso-icon {
    font-size: 18px;
    color: #d6aa42;
}

.security-note {
    margin-top: 20px;
    text-align: center;
    color: #d6aa42;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: #0a0a0a;
    border-top: 1px solid rgba(214, 170, 66, 0.2);
    padding: 8px 50px;
    gap: 15px;
    height: 58px;  /* ← 82% of 70px */
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transform: scale(0.82);  /* ← ADD THIS LINE */
    transform-origin: center; /* ← ADD THIS LINE */
}

.footer-icon {
    font-size: 22px;
    color: #d6aa42;
}

.footer-item strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 2px;
}

.footer-item p {
    font-size: 10px;
    color: #888;
    margin: 0;
}

@media (max-width: 1200px) {
    .page-wrapper {
        transform: scale(1);
        width: 100%;
        margin-left: 0;
    }
    .left-panel {
        display: none;
    }
    .right-panel {
        width: 100%;
        max-width: 100%;
    }
}