@font-face {
    font-family: Inter;
    src: url("../../fonts/Inter.ttf");
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body{
        position: relative;
        /* height: 5000px; */
}
.container{
    float: left;
    width: 100%;
    /* height: 100vh; */
    aspect-ratio: 16/9;
    background-image: url("../../images/login/login.avif");
    background-repeat: no-repeat;
    background-size: cover;
}


@font-face {
    font-family: 'Inter';
    src: url("../../fonts/Inter.ttf");
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar .logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #00d4ff, #007cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("../../images/login/login.avif");
    background-size: cover;
    background-position: center;
    position: relative;
}

.container::before {
    /* {{!-- content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 50, 100, 0.6));
    z-index: 1; --}} */
}

.left, .right {
    flex: 1;
    position: relative;
    z-index: 2;
    padding: 0 40px;
}

.left {
    color: white;
}

.headline {
    font-size: 68px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
    animation: fadeInLeft 1s ease;
}

.sub-line {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    animation: fadeInLeft 1s ease 0.3s both;
}

.right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 420px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    animation: fadeInUp 0.8s ease;
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-8px);
}

.card-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.card-header p {
    color: #666;
    font-size: 15px;
}

.input-wrapper {
    margin-top: 24px;
}

.input-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
}

.input-wrapper input:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
    transform: scale(1.02);
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.9);
    border: 1.5px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #00d4ff;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
}

.input-group input {
    border: none;
    outline: none;
    box-shadow: none;
    flex: 1;
}

.eye-icon {
    width: 22px;
    margin-right: 16px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.eye-icon:hover { opacity: 1; }

button {
    margin-top: 30px;
    padding: 16px;
    width: 100%;
    background: linear-gradient(135deg, #00d4ff, #007cff);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.4);
}

button:active {
    transform: translateY(-1px);
}

.loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid transparent;
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

button.loading .btn-text { opacity: 0; }
button.loading .loader { display: inline-block; }

.error {
    color: #ff3b30;
    font-size: 13px;
    margin-top: 6px;
    display: block;
    min-height: 20px;
    animation: shake 0.4s;
}

.footer-links {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: #666;
}

.footer-links a {
    color: #007cff;
    text-decoration: none;
    font-weight: 600;
}

.footer-links a:hover { text-decoration: underline; }

.policy { color: #007cff; }

/* Animations */
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .container { flex-direction: column; padding-top: 100px; }
    .left, .right { width: 100%; text-align: center; padding: 20px; }
    .headline { font-size: 48px; }
    .login-card { width: 90%; max-width: 400px; }
}



/* Toast Notification - Zabardast wala */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #333;
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: linear-gradient(135deg, #00d4ff, #007cff);
}

.toast.error {
    background: linear-gradient(135deg, #ff3b30, #ff6b6b);
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toast-content::before {
    content: "✓";
    font-size: 20px;
    font-weight: bold;
}

.toast.error .toast-content::before {
    content: "✕";
}