* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #E0F7FA;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 10px;
}

.container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.container:hover {
    transform: scale(1.02);
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #00796B;
}

label {
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 0.95rem;
    background-color: #FAFAFA;
    transition: border-color 0.3s ease-in-out;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    border-color: #00796B;
    outline: none;
}

.terms {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.terms label {
    font-size: 0.85rem;
}

.terms input {
    margin-right: 10px;
}

.terms a {
    color: #00796B;
    text-decoration: none;
}

.terms a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #00796B;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.submit-btn:hover {
    background-color: #004D40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

p {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

p a {
    color: #00796B;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}


@media (max-width: 600px) {
    .container {
        padding: 20px 15px;
    }

    h2 {
        font-size: 1.5rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        padding: 10px;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}
