/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #00c6ff, #0072ff);
    padding: 20px;
}

/* Logo Styling */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    width: 200px;
    height: auto;
    max-width: 100%;
    cursor: pointer;
}

/* Centering the form */
.container {
    width: 100%;
    max-width: 450px;
}

.form-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
}

/* Headings */
h2 {
    margin-bottom: 25px;
    color: #333;
    font-size: 26px;
}

/* Input Fields */
.input-box {
    position: relative;
    margin-bottom: 20px;
}

    .input-box input {
        width: 100%;
        padding: 14px;
        font-size: 18px;
        border: 1px solid #ccc;
        border-radius: 6px;
        outline: none;
        background: #f9f9f9;
        transition: 0.3s;
    }

    .input-box label {
        position: absolute;
        top: 16px;
        left: 12px;
        font-size: 16px;
        color: #777;
        transition: 0.3s;
        pointer-events: none;
    }

    /* Floating Label Effect */
    .input-box input:focus ~ label,
    .input-box input:valid ~ label {
        top: -10px;
        left: 8px;
        font-size: 14px;
        color: #0072ff;
    }

/* Buttons */
.submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    background: #0072ff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

    .submit-btn:hover {
        background: #005bb5;
    }

/* Login, Register, Forgot Password Links */
.options {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

    .options button {
        background: none;
        border: none;
        color: #0072ff;
        cursor: pointer;
        font-size: 16px;
        padding: 6px;
        transition: 0.3s;
    }

        .options button:hover {
            color: #005bb5;
        }

/* Hide forms by default */
.hidden {
    display: none;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    body {
        min-height: 100vh;
        padding: 40px 20px;
    }

    .container {
        max-width: 95%;
    }

    .form-box {
        padding: 35px;
    }

    .input-box input {
        font-size: 18px;
        padding: 14px;
    }

    .submit-btn {
        padding: 16px;
        font-size: 18px;
    }

    .options button {
        font-size: 16px;
    }

    .logo {
        width: 160px;
    }
}

@media screen and (max-width: 480px) {
    .form-box {
        padding: 30px;
    }

    h2 {
        font-size: 24px;
    }

    .input-box input {
        font-size: 16px;
        padding: 12px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }

    .options button {
        font-size: 14px;
    }

    .logo {
        width: 140px;
    }
}
