/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container for Centering Content */
.landing-container,
.auth-container {
    text-align: center;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

h1, h2 {
    color: #6a11cb; /* A nice purple */
    margin-bottom: 20px;
}

p {
    color: #555;
    margin-bottom: 30px;
}

/* Buttons */
.btn, .btn-secondary, .btn-google {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.btn {
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: #fff;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #eee;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Google Button */
.btn-google {
    background-color: #fff;
    color: #757575;
    border: 1px solid #ddd;
}

.btn-google:hover {
    background-color: #f5f5f5;
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #6a11cb;
}

.auth-form p {
    margin-top: 20px;
    font-size: 14px;
}

.auth-form a {
    color: #2575fc;
    text-decoration: none;
    font-weight: 600;
}

.auth-form a:hover {
    text-decoration: underline;
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 0;
    animation: fadeInDown 0.5s forwards;
}

@keyframes fadeInDown {
    from {
        top: -50px;
        opacity: 0;
    }
    to {
        top: 20px;
        opacity: 1;
    }
}

.flash-message.success {
    background: linear-gradient(45deg, #28a745, #218838);
}

.flash-message.error {
    background: linear-gradient(45deg, #dc3545, #c82333);
}