.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 180px); /* Adjust based on header/footer height */
    background-color: #f8f8f8;
    padding: 40px 20px;
}

.auth-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.auth-card h2 {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    font-weight: bold;
}

.auth-card p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
}

.auth-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.auth-form label {
    display: block;
    font-size: 1.1em;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="text"]:focus {
    border-color: #df7c60;
    outline: none;
}

.auth-button {
    background-color: #df7c60;
    color: #fff;
    padding: 14px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    width: 100%;
    margin-top: 20px;
}

.auth-button:hover {
    background-color: red;
    transform: translateY(-2px);
}

.auth-links {
    margin-top: 25px;
    font-size: 1em;
}

.auth-links a {
    color: #df7c60;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.auth-links a:hover {
    text-decoration: underline;
    color: red;
}

.auth-links span {
    color: #aaa;
}

.auth-error,
.auth-success {
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: left;
}

.auth-error {
    background: rgba(255, 0, 0, 0.1);
    color: red;
    border-left: 4px solid red;
}

.auth-success {
    background: rgba(223, 124, 96, 0.1);
    color: #df7c60;
    border-left: 4px solid #df7c60;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px;
    }

    .auth-card h2 {
        font-size: 2em;
        margin-bottom: 25px;
    }

    .auth-card p {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .auth-form label {
        font-size: 1em;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .auth-button {
        padding: 12px 20px;
        font-size: 1.1em;
    }

    .auth-links {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .auth-card {
        padding: 25px;
        margin: 0 15px;
    }

    .auth-card h2 {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .auth-card p {
        font-size: 0.9em;
        margin-bottom: 15px;
    }

    .auth-form input[type="email"],
    .auth-form input[type="password"],
    .auth-form input[type="text"] {
        font-size: 0.9em;
    }

    .auth-button {
        font-size: 1em;
        padding: 10px 15px;
    }

    .auth-links {
        flex-direction: column;
        gap: 5px;
    }
    
    .auth-links a {
        margin: 5px 0;
    }
}
