﻿/* ---------- Base Styling ---------- */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    background: url('https://teknokrat.isee.pk/Image/location.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ---------- Background Overlay ---------- */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* ---------- Login Box Styling ---------- */
.login-box {
    position: relative;
    z-index: 10;
    max-width: 360px;
    width: 100%;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.15);
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    animation: dropInFromTop 1.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

/* ---------- Drop-In Animation ---------- */
@keyframes dropInFromTop {
    0% {
        transform: translateY(-120px);
        opacity: 0;
    }
    60% {
        transform: translateY(20px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
    }
}

/* ---------- Input Fields ---------- */
.login__field {
    margin-bottom: 12px;
    position: relative;
}

.login__icon {
    position: absolute;
    top: 12px;
    left: 10px;
    color: #f39c12;
}

.login__input {
    padding: 10px 10px 10px 35px;
    width: 100%;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
}

.login__input:focus {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 0 8px #f39c12;
}

/* ---------- Button Styling ---------- */
.button.login__submit {
    width: 100%;
    padding: 12px;
    border: none;
    background: linear-gradient(90deg, #3F51B5, #009688);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s ease;
    background-size: 200% 100%;
    box-shadow: 0 4px 15px rgba(255, 111, 97, 0.3);
}

.button.login__submit:hover {
    background-position: right center;
    box-shadow: 0 6px 25px rgba(255, 111, 97, 0.4);
}

/* ---------- Eye Icon ---------- */
.field-icon {
    position: absolute;
    top: 12px;
    right: 15px;
    color: #aaa;
    cursor: pointer;
}

/* ---------- Logo Styling ---------- */
.logo-container img {
    max-width: 150px;
    margin: 0 auto 20px;
    display: block;
}

/* ---------- Bottom Logo ---------- */
.screen__content > img:last-child {
    max-width: 120px;
    margin: 40px auto 0;
    display: block;
    opacity: 0.85;
}

/* ---------- Forgotten Password ---------- */
#btnForgotten {
    color: #f1c40f !important;
    transition: 0.3s ease;
    text-decoration: none;
    display: block;
    margin-bottom: 15px;
    text-align: right;
}

#btnForgotten:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px #f1c40f;
    font-weight: bold;
}

/* ---------- Password Bullet ---------- */
.pwd {
    -webkit-text-security: disc;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .login-box {
        margin: 20px;
        padding: 20px;
    }

    .logo-container img,
    .screen__content > img:last-child {
        max-width: 100px;
    }
}
