*{

    
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    overflow: hidden;
  
   
}
.animation video{
   width: 100%;
   height: 100vh; 
   top: 0;
   left: 0;
   position: fixed;
    object-fit: cover;
    overflow: hidden;
    z-index: -1;
    background: transparent;
    object-position: center top;
  
    
}


.main-container {
   width: 350px;

    display: flex;
    background: transparent;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;

}


.main-box {
    height: auto;
    padding: 1rem;
    border-radius: 20px;
   
    width: 350px;
    border: 2px solid rgb(255, 255, 255);
    animation: slideUp 1s ease forwards;
     box-shadow: 0 0 100px #000000;
     backdrop-filter: blur(7px);
     border-radius: 20px;
     animation: rotateIn 4s linear infinite;
     animation-delay: -1s;
     filter: drop-shadow(0 15px 50px #000);
}
h2{
    text-align: center;
    color: #000000;
    font-weight: bolder;
    font-style: inherit;
    font-size: 22px;
    margin-bottom: 15px;
    text-shadow: 0 0 5px #00bfff;
    
}

 

.tabs {
    display: flex;
    justify-content:center;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba (255,255,255,0.1);
   
    
}


.tab-button {
    background: transparent;
    border: none;
    color: #000000;
    font-size: 17px;
    outline: hsl(0, 100%, 99%);
    box-shadow: 0 1px 2px  #fffdfd;
    cursor: pointer;
    padding: 1px 10px;
    border-bottom: 2px solid transparent;
    width: 50%;
    font-weight:bold;
    transform: all 0.3s;
    text-shadow: 0 0 1px #1fb4ea;
    border-radius: 10px;
    border-color: 10px solid white;
    border-color: black;
    
    
}
.tab-button.active{
    color: #ffffff;
    border-bottom: 3px solid #00bfff;
    font-size: 50px;
}

.tab-button:hover {
    color: rgb(0, 204, 255);
   
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    
}

.form-section {
    display: flex;
    flex-direction: column;
    padding-top: 7px;
    font-weight: normal;
}

.hidden {
    display: none;
}

.input-group {
    margin-bottom: 15px;
    
    text-align: left;
    width: 100%;
    font-size: 12.5px;
    font-weight: bold;
    
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: black;
    font-weight: bold;
    font-size: normal;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: normal;
    font-weight: bold;
    box-sizing: border-box; /* Important fix */
}

.auth-button {
    display: flex;
    text-align: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    font-weight: bolder;
    border: 1px solid rgb(255, 248, 248);
  
    box-shadow: 0 0 8px #00bfff;
    text-shadow: 0 0  10px  black;
  
}

.auth-button:hover {
    background-color: #ffffff;
}

.switch-link {
    text-align: center;
    font-size: 20px;
    margin-top: 15px;
    color: #ff0000;
    font-weight: bold;
}
.switch-link a{
    color:  #000000;
    font-weight: normal;
    text-shadow: 0 0 10px #ffffff;
    
}
.switch-link a:hover{
    text-decoration: underline;
}

/* Messages ke liye styling */
#status-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 20px;
    color: white;
    border-radius: 5px;
    display: none;
    z-index: 1000;
   
}

#status-message.success { background-color: #37ff00; border-radius: 5px; }
#status-message.error { background-color: #f44336; border-radius: 5px; }

.hidden{
    display: none;
}


@media screen and (max-width: 768px) {
    .wrapper, .container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px;
    }

    
    .form-box, .login-box {
        
        width: 90% !important; 
        max-width: 400px !important; 
        
        margin: auto !important; 
        padding: 25px 20px !important; 
    }

    
    h2 {
        font-size: 22px !important;
    }
    input, button, select {
        height: 45px !important;
    }
}