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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f0f0f0;
    position: relative;
    overflow: hidden;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
    background-color: #17202ae3;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.logo {
    width: 90px;
    height: auto;
}

@keyframes fadeIn {
    100% {
        opacity: 1;
    }
}

.login-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login-card {
    width: 100%;
    text-align: center;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

input {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    border: 1px solid #3a3f44;
    border-radius: 4px;
    background: transparent;
    color: #999;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: #a42c2c;
}

label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    background: #17202a00;
    padding: 0 5px;
    font-size: 12px;
    font-weight: 500;
    color: #999;
    pointer-events: none;
    transition: 0.3s ease;
}

input.filled + label,
input:focus + label {
    top: 0;
    left: 12px;
    background: #17202ae3;
    border: 1px solid #3a3f44;
    border-radius: 3px;
    font-size: 12px;
    padding: 0 5px;
}

/* Focus styling (overrides filled styling) */
input:focus + label {
    border-color: #a42c2c;
    color: #a42c2c;
}

input:focus {
    border-color: #a42c2c;
}

/* When the input is filled but not focused */
input.filled + label {
    color: #999;
    border-color: #3a3f44;
}
input:focus.filled + label {
    border-color: #a42c2c;
    color: #a42c2c;
}

button.btn {
    width: 100%;
    padding: 12px 16px;
    background-color: #a42c2c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.btn:hover {
    background-color: #902626;
}

.footer-text {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
}

.footer-text a {
    color: #a42c2c;
    text-decoration: none;
}

.footer-text a:hover {
    text-decoration: underline;
}
