<?php
// goodbye.php - Página de despedida
header("Refresh: 3; URL=login.php"); // Redireciona após 3 segundos
?>
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Até Logo!</title>
<link href="vendor/fontawesome-free/css/all.min.css" rel="stylesheet">
<style>
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Nunito', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: #fff;
    text-align: center;
}
.goodbye-wrapper {
    padding: 40px;
    border-radius: 15px;
    background: rgba(0,0,0,0.6);
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: fadeIn 1.5s ease-in-out;
}
.goodbye-wrapper img {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    border-radius: 50%;
    object-fit: cover;
}
.goodbye-wrapper h2 {
    margin-bottom: 15px;
    font-size: 1.8em;
}
.goodbye-wrapper p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #ffd700;
}
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-20px);}
    100% { opacity: 1; transform: translateY(0);}
}
@media (max-width: 576px) {
    .goodbye-wrapper {
        padding: 30px 20px;
    }
    .goodbye-wrapper img {
        width: 100px;
        height: 100px;
    }
}
</style>
</head>
<body>
<div class="goodbye-wrapper">
    <img src="img/logo.png" alt="Logo">
    <h2>Até Logo!</h2>
    <p>Você será redirecionado para a página de login em 3 segundos.</p>
    <i class="fas fa-smile-beam fa-3x"></i>
</div>
</body>
</html>