/* Import Google font - Inter */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    justify-content: center;
    align-items: center;
    display: flex;
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(135deg, #eef7fc 0%, #ffffff 50%, #e0f2fe 100%);
    background-size: cover;
    background-position: center;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 440px;
    width: 90%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(45, 138, 186, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.container .registration {
    display: none;
}

#check:checked ~ .registration {
    display: block;
}

#check:checked ~ .login {
    display: none;
}

#check {
    display: none;
}

.container .form {
    padding: 2.2rem 2rem;
}

.form header {
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2d8aba;
    letter-spacing: -0.5px;
}

.form header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

.form input:not([type="checkbox"]):not([type="submit"]) {
    height: 48px;
    width: 100%;
    padding: 0 16px;
    font-size: 14px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    transition: all 0.15s ease-in-out;
}

.form input:not([type="checkbox"]):not([type="submit"]):focus {
    border-color: #2d8aba;
    box-shadow: 0 0 0 3px rgba(45, 138, 186, 0.15);
}

.form a {
    font-size: 14px;
    color: #2d8aba;
    font-weight: 600;
    text-decoration: none;
}

.form a:hover {
    color: #246e96;
    text-decoration: underline;
}

.form input.button {
    height: 48px;
    width: 100%;
    color: #ffffff;
    background: #2d8aba;
    font-size: 15px;
    font-weight: 600;
    margin-top: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form input.button:hover {
    background: #246e96;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 138, 186, 0.25);
}

.signup {
    font-size: 14px;
    text-align: center;
    margin-top: 1.2rem;
    color: #64748b;
}

.signup label {
    color: #2d8aba;
    font-weight: 600;
    cursor: pointer;
}

.signup label:hover {
    color: #246e96;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .container {
        width: 95%;
    }
    .container .form {
        padding: 1.5rem 1.2rem;
    }
}

