/* Reset & Font */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #fff;
    overflow: hidden;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.4);
    text-align: center;
}

/* Container */
.login-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 50px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
    animation: fadeIn 1s ease forwards;
    max-width: 400px;
    width: 90%;
}

/* Titles */
.title {
    font-size: 36px;
    margin-bottom: 5px;
    font-weight: bold;
}

.welcome {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Form */
.login-form h1 {
    margin-bottom: 10px;
    font-size: 28px;
}

.login-form label {
    font-size: 14px;
    display: block;
    margin-bottom: 15px;
}

/* Form row with icon */
.form-row {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.form-row .icon {
    position: absolute;
    left: 10px;
    color: #00ffff;
    font-size: 18px;
}

.form-row input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-row input:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 10px #00ffff;
}

/* Button */
.loginButton {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    background: linear-gradient(90deg, #00ffff, #00cccc);
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.loginButton:hover {
    background: linear-gradient(90deg, #00cccc, #009999);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,255,255,0.5);
}

/* Footer */
.footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: #fff;
    display: flex;
    align-items: center;
}

#logo {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: auto;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media screen and (max-width: 500px) {
    .login-container {
        padding: 30px 20px;
    }
    .title {
        font-size: 28px;
    }
    .welcome {
        font-size: 20px;
    }
    .login-form h1 {
        font-size: 24px;
    }
}
