/* 🌎 General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

/* 💩 Login Form Box (Prevents Poop Overlapping) */
#loginContainer {
    position: relative;
    width: 320px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* 📝 Input Fields */
input {
    width: 90%; /* Makes input fields slightly smaller than the box */
    padding: 10px;
    margin: 8px auto 12px auto; /* Adds spacing */
    border: 1px solid #ddd;
    border-radius: 5px;
    display: block;
}

/* 🎯 Buttons */
button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

button:hover {
    background-color: #0056b3;
}

/* ✅ Status Message */
.status-message {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.success {
    color: green;
    opacity: 1;
}

.error {
    color: red;
    opacity: 1;
}

/* 🔹 Create Account Link Styling */
.create-account {
    margin-top: 15px;
    font-size: 14px;
}

.create-account a {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
}

.create-account a:hover {
    text-decoration: underline;
}

/* 🚀 Dashboard Container */
.dashboard-container {
    position: relative;
    width: 60%;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 2; /* Ensures poop emojis don't overlap text */
}

/* 🎮 Back Button */
.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    text-decoration: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.back-button:hover {
    background-color: #0056b3;
}

/* 💩 Poop Animation */
#rocketContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

/* 💩 Individual Poop Emoji Styling */
.rocket {
    position: absolute;
    font-size: 25px;
    width: 30px;
    height: 30px;
    transition: transform 0.1s linear;
}
