/* General Styling */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}
 html, body {height: 100%;width: 100%;}
body {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.container {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 400px;
    width: 90%;
    animation: fadeIn 0.8s ease-in-out;
}

h2 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 10px;
}

p {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    outline: none;
    font-size: 16px;
    margin-bottom: 15px;
    transition: 0.3s;
}

input:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #ff7eb3;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

button:hover {
    background: #ff4e94;
    transform: scale(1.05);
}

button:disabled {
    background: #999;
    cursor: not-allowed;
}

/* Loader Animation */
.loader {
    display: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Message Styles */
#message {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.success { color: #28a745; }
.error { color: #ff4d4d; }
.loading { color: #ffbb33; }

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}