* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}

/* Styles for desktop view */
body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: url("../images/local/Plant.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Styles for small screens (e.g., CAT S22 Flip) */
@media screen and (max-width: 480px) {
    body {
        background-image: none;
        background-color: #292925;
    }
}

section {
    position: relative;
    max-width: 400px;
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(55px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 3rem;
}

.title-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.clock-icon {
    width: 30px;
    height: 30px;
    background-image: url("../images/local/clock-icon.png");
    background-size: cover;
    animation: rotateClock 2s infinite linear;
}

.clock {
    font-size: 2rem;
    color: #fff;
    text-align: center;
    margin-left: 10px;
}

@keyframes rotateClock {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.inputbox input {
    width: 100%;
    height: 60px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1rem;
    padding: 0 35px 0 5px;
    color: #fff;
}

.inputbox ion-icon {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2rem;
    top: 20px;
}

.forget {
    margin: 35px 0;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    justify-content: space-between;
}

.back-to-login {
    margin: 35px 0;
    font-size: 0.85rem;
    color: #fff;
    text-align: center; 
}

h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 20px;
}

.inputbox {
    position: relative;
    margin-bottom: 20px;
    max-width: 310px;
    border-bottom: 2px solid #fff;
    transition: border-color 0.3s ease;
}

.inputbox label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.inputbox label.active {
    font-size: 0.8rem; 
    top: 10px;
}

.inputbox input:focus ~ label,
.inputbox input:valid ~ label {
    top: 10px;
    font-size: 0.8rem;
    color: #666;
    transform: translateY(-130%); 
}

::placeholder {
    color:#fff

}
.forget label {
    display: flex;
    align-items: center;
}

.forget label input {
    margin-right: 3px;
}

.forget a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.forget a:hover {
    text-decoration: underline;
}

.back-to-login label {
    display: flex;
    align-items: center;
}

.back-to-login a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.back-to-login a:hover {
    text-decoration: underline;
}


button {
    width: 100%;
    height: 40px;
    border-radius: 40px;
    background-color: rgba(255, 255, 255, 1);
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
}

button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.copyright {
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}

.copyright p {
    margin: 0;
}

.copyright p a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
}

.copyright p a:hover {
    text-decoration: underline;
}

/* Styles for mobile view */
@media (max-width: 768px) {
    section {
        padding: 3rem;
        max-width: 80%;
    }

    .inputbox input,
    .inputbox ion-icon {
        font-size: 1.2rem;
        height: 60px;
    }

    ::placeholder {
        font-size: 14px; 
    }

    .forget {
        margin: 20px 0;
        font-size: 1rem;
    }

    h2 {
        font-size: 1.6rem;
        text-align: center;
    }

    .inputbox {
        position: relative;
        margin-bottom: 20px;
    }

    .inputbox label {
        font-size: 0.8rem;
        position: absolute;
        top: 50%;
        left: 5px;
        transform: translateY(-50%);
        pointer-events: none;
        color: #fff;
    }

    .inputbox input:focus ~ label,
    .inputbox input:valid ~ label {
        top: 10px;
        font-size: 0.8rem;
        color: #666;
    }

    button {
        height: 50px;
        font-size: 1.2rem;
    }
}
p {
    color:#fff
    
}
.p {
    margin-bottom: 50px;
}
