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

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #23242a; /* Dark mode background color */
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    position: relative;
    width: 380px;
    height: 455px;
    background: #1c1c1c; /* Dark mode login box background color */
    border-radius: 8px;
    overflow: hidden; /* Hide overflow for gradient animation */
}

.login-box::before,
.login-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, transparent, transparent, #45f3ff, #ff5733, #45f3ff);
    border-radius: 6px;
    z-index: 1;
    transform-origin: center; /* Center the animation */
    animation: animate 6s linear infinite;
}

.login-box::before {
    background: linear-gradient(0deg, transparent, transparent, #ff5733, #C78C2A, #ff5733);
    animation-delay: -1.5s; /* Delay the second animation */
}

.login-box::after {
    background: linear-gradient(0deg, transparent, transparent, #45f3ff, #45f3ff, #45f3ff);
    animation-delay: -3s; /* Delay the third animation */
}

.login-box form {
    position: absolute;
    inset: 4px;
    background: #222;
    padding: 50px 30px;
    border-radius: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.login-box h2 {
    color: #fff;
    font-weight: 500;
    text-align: center;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.login-box .inputBox {
    position: relative;
    margin-top: 15px;
}

.login-box .inputBox span {
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
    text-align: center; /* Center the labels */
}

.login-box .inputBox input {
    width: 100%;
    padding: 10px;
    background: transparent;
    outline: none;
    border: none;
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #fff;
    text-align: center; /* Center the input text */
}

.login-box form button[type='submit'] {
    width: 100%;
    padding: 10px;
    border: none;
    outline: none;
    background: #ff5733;
    color: #fff;
    font-size: 1em;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 5px;
    margin: 20px 0;
}

.logo {
    height: auto;
    width: 60px;
    align-self: center;
}

/* Rest of your CSS styles for input boxes, labels, and buttons remain unchanged */

/* Add the gradient animation */
@keyframes animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.copyright {
    text-align: center; /* Center-align the text */
    color: #fff;
    font-size: 0.8em;
    opacity: 0.8;
}

.copyright a{
    color: #ff5733;
    text-decoration: none;
}

/* Media Query for Mobile Screens */
@media screen and (max-width: 768px) {
    .copyright {
        font-size: 12px; /* Hide the copyright text on mobile */
    }
}


