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

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

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .video-background iframe {
        height: 56.25vw;
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background iframe {
        width: 177.78vh;
    }
}

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

.container {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 400px;
    transition: all 0.5s ease-in-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.logo-circle {
    width: 100px; /* Adjust size */
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent blur effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -110px; /* Half outside the box */
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Keeps the logo inside */
}

.logo-circle img {
    width: 90%; /* Adjust for padding */
    height: 90%;
}


.form-box h2 {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}
.logo-header {
    position: absolute;
    left: 20px; /* Adjust distance from the logo */
    top: -10%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin: 0 15px; /* Adjust spacing */
    text-transform: uppercase;
}

.input-box {
    position: relative;
    margin-bottom: 20px;
    transition: all 0.4s ease-in-out;
}

.input-box input {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    outline: none;
    font-size: 16px;
}

.input-box label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
    pointer-events: none;
    font-size: 16px;
}

.input-box input:focus + label,
.input-box input:valid + label {
    top: 0;
    font-size: 12px;
    color: #ffcc00;
}

.input-box .error-message {
    position: absolute;
    bottom: -18px;
    left: 0;
    font-size: 12px;
    color: #ff6b6b;
    display: none;
}

.status-message {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}

.status-message.error {
    background-color: rgba(255, 107, 107, 0.2);
    border: 1px solid #ff6b6b;
    color: #ff6b6b;
}

.status-message.success {
    background-color: rgba(92, 184, 92, 0.2);
    border: 1px solid #5cb85c;
    color: #5cb85c;
}

.btn {
    width: 100%;
    padding: 12px;
    background: #ffcc00;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.btn:hover {
    transform: translateY(-2px);
    background: #ff9900;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

.toggle-text {
    margin-top: 16px;
    font-size: 14px;
}

.toggle-text a {
    color: #ffcc00;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    margin-left: 5px;
}

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

.forgot-password {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.forgot-password:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.social-login {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.social-login p {
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.social-icon img {
    width: 24px;
    height: 24px;
}

/* Film transition effect */
.film-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
}

.fade-in {
    opacity: 1 !important;
}

.expanded {
    height: auto;
}

.hidden {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease-in-out, height 0.4s ease-in-out;
}

/* Loading spinner */
.spinner {
    display: none;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 204, 0, 0.3);
    border-radius: 50%;
    border-top-color: #ffcc00;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px;
        width: 95%;
    }
    
    .form-box h2 {
        font-size: 24px;
    }
    
    .input-box label,
    .input-box input {
        font-size: 14px;
    }
}