@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

body, html {
    height: 100%;
    margin: 0;
    font-family: 'Outfit', sans-serif;
    overflow: hidden;
}

body {
    background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8.5px);
    -webkit-backdrop-filter: blur(8.5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    width: 350px;
    text-align: center;
    color: white;
}

h1 {
    margin-bottom: 2rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

input {
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

input:focus {
    border-bottom: 1px solid #4ecca3;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #4ecca3, #45b792);
    color: #1a1a2e;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Outfit', sans-serif;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 204, 163, 0.4);
}

.error-message {
    color: #ff6b6b;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

/* Floating shapes for background */
.shape {
    position: absolute;
    filter: blur(50px);
    z-index: -1;
    animation: float 10s infinite;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: #4ecca3;
    opacity: 0.3;
}

.shape-2 {
    bottom: -10%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: #e94560;
    opacity: 0.2;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}
