
* {
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
}

form {
    background: white;
    width: 320px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(to right, #667eea, #764ba2);
    -webkit-background-clip: text;
    color: transparent;
}

label {
    font-weight: 600;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 6px;
    border-radius: 8px;
    border: 2px solid #ddd;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #764ba2;
    box-shadow: 0 0 10px rgba(118,75,162,0.4);
}

.error {
    font-size: 12px;
    color: red;
    margin-top: 3px;
    height: 14px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

button {
    width: 100%;
    margin-top: 15px;
    padding: 12px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    color: white;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    cursor: not-allowed;
    opacity: 0.5;
    transition: 0.4s;
}

button.enabled {
    cursor: pointer;
    opacity: 1;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255,75,43,0.6); }
    70% { box-shadow: 0 0 0 12px rgba(255,75,43,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,75,43,0); }
}

button:hover.enabled {
    transform: scale(1.05);
}
