* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


#bg-video {
    position: fixed;
    top: 50%;
    left: 60%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%) scale(1.35);
    object-fit: cover;
    object-position: 65% center; 
    
    z-index: -1;
    background-color: #e8e2d6;
}


.form-card {
    width: 420px;
    padding: 35px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    
    position: absolute;        
    right: 18%;                 
    top: 50%;                  
    transform: translateY(-50%);
}

.form-card h2 {
    color: #0D8277; 
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 25px;
    text-align: center;
}


form input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: 0.2s ease;
}

input:focus {
    border-color: #0D8277;
}


.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    display: none;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    z-index: 100;
}

.popup-content {
    background: white;
    width: 350px;
    padding: 25px;
    text-align: center;
    border-radius: 15px;
    animation: popupAnim 0.3s ease-out;
}

.popup-content h3 {
    color: #0D8277;
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 14px;
    margin-bottom: 20px;
}


#close-popup {
    background: #0D8277;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
}

#close-popup:hover {
    background: #09635A;
}

@keyframes popupAnim {
    from {
        transform: scale(0.6);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}


#submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #0D8277; 
    color: #fff;
    font-size: 16px;
    margin-top: 5px;
    transition: 0.2s;
}

#submit-btn:hover {
    background: #09635A; 
}


.login-text {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.login-text a {
    color: #0D8277;
    font-weight: 600;
}


#error-msg {
    color: #B80000;
    text-align: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}