
* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
font-family: 'Segoe UI', sans-serif;
background: linear-gradient(135deg, #00c9ff, #92fe9d, #fbc2eb, #a6c1ee);
background-size: 400% 400%;
animation: gradientShift 15s ease infinite;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}

@keyframes gradientShift {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}

.form-container {
background: #1f1f1f;
padding: 40px 30px;
border-radius: 12px;
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
width: 100%;
max-width: 400px;
animation: slideIn 1s ease-out forwards;
opacity: 0;
transform: translateY(50px);
color: #fff;
}

@keyframes slideIn {
to {
opacity: 1;
transform: translateY(0);
}
}

.form-container h2 {
text-align: center;
margin-bottom: 20px;
color: #ffffff;
}

form {
transition: opacity 0.5s ease;
}

.input-group {
margin-bottom: 20px;
}

.input-group input {
width: 100%;
padding: 12px 14px;
border: 2px solid #444;
border-radius: 8px;
background: #2c2c2c;
color: #fff;
outline: none;
transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
border-color: #74c0fc;
box-shadow: 0 0 5px #74c0fc55;
}

.btn-submit {
width: 100%;
padding: 12px;
border: none;
background: #20c997;
color: white;
border-radius: 8px;
font-size: 16px;
cursor: pointer;
transition: background 0.3s ease;
}

.btn-submit:hover {
background: #17a589;
}

.success-message {
display: none;
text-align: center;
margin-top: 20px;
color: #00e676;
transition: opacity 0.5s ease;
}
