@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css');

body {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.form-container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 400px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.form-container:hover {
    transform: translateY(-5px);
}

h2 {
    color: #3a7bd5;
    font-size: 28px;
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

input[type="email"], input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Add padding for icon */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

input[type="email"]:focus, input[type="password"]:focus {
    border-color: #3a7bd5;
    box-shadow: 0 0 8px rgba(58, 123, 213, 0.3);
    outline: none;
}

.btn {
    background: linear-gradient(45deg, #3a7bd5, #00d2ff);
    border: none;
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    width: 100%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.form-footer a {
    text-decoration: none;
    color: #00d2ff;
    font-size: 14px;
    display: block;
    margin-top: 20px;
    transition: color 0.3s ease;
}

.form-footer a:hover {
    color: #3a7bd5;
}

.error-message {
    color: #e74c3c;
    background-color: #fdd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    text-align: center;
}
