* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(45deg, #075e54, #128c7e, #25d366, #4fce5d);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
    color: #fff;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 500px;
    margin: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(18, 140, 126, 0.5);
    letter-spacing: 1px;
}

.motivation {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #e0f7fa;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

label {
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: block;
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

input {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

input:focus {
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5), 0 0 25px rgba(18, 140, 126, 0.3);
    transform: scale(1.02);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #128c7e, #25d366);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(18, 140, 126, 0.5);
}

button:hover {
    background: linear-gradient(90deg, #0a6d64, #20b85a);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.7);
    transform: translateY(-2px);
}

.error {
    color: #ff4d4d;
    margin-top: 15px;
    font-size: 0.95rem;
    text-shadow: 0 0 5px rgba(255, 75, 75, 0.5);
}

.forgot-password, .create-account {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #e0f7fa;
}

.forgot-password a, .create-account a {
    color: #25d366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.forgot-password a:hover, .create-account a:hover {
    color: #20b85a;
    text-shadow: 0 0 5px rgba(37, 211, 102, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.close:hover {
    color: #ff4d4d;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.message {
    margin-top: 15px;
    font-size: 0.95rem;
    color: #e0f7fa;
}

.message.error {
    color: #ff4d4d;
    text-shadow: 0 0 5px rgba(255, 75, 75, 0.5);
}

/* Responsive Design */
@media (max-width: 600px) {
    .container, .modal-content {
        padding: 25px;
        margin: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .motivation {
        font-size: 0.9rem;
    }

    input, button {
        padding: 12px;
        font-size: 0.95rem;
    }

    label {
        font-size: 1rem;
    }

    .forgot-password, .create-account {
        font-size: 0.9rem;
    }
}