body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ecf0f1; /* Light Gray */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars if button moves off-screen slightly */
}

.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 90%;
    text-align: center;
    border-top: 5px solid #3498db; /* Blue accent */
    position: relative; /* Crucial for absolute positioning of buttons inside */
    z-index: 10; /* Ensure container is above button if button moves outside */
    
    /* NEW: Use flexbox for button alignment */
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center items horizontally within the column */
}

h1 {
    color: #2c3e50;
    margin-bottom: 5px;
}

p {
    color: #7f8c8d;
    font-size: 1.1em;
}

/* Status Box Styles */
.status-box {
    margin: 30px 0;
    padding: 20px;
    border: 1px dashed #bdc3c7;
    border-radius: 8px;
    width: calc(100% - 40px); /* Ensure it takes full width minus padding */
}

#status-message {
    font-weight: bold;
    font-size: 1.5em;
    animation: pulse 1.5s infinite alternate; /* CSS Animation Test */
}

/* Status Colors (Changed by JS) */
.initial { color: #f39c12; } /* Orange */
.success { color: #27ae60; } /* Green */
.reset { color: #e74c3c; } /* Red */

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* General Button Styling for both Yes/No */
.action-button { 
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
    margin: 5px; 
    display: inline-flex; /* NEW: Use inline-flex to allow side-by-side but also take its own space */
    justify-content: center; /* Center text within the button */
    align-items: center; /* Center text vertically */
}

.action-button:hover {
    background-color: #2980b9;
}

/* Specific styling for the 'Yes' button (no need for margin-right now with flexbox) */
#yes-button {
    position: static; /* Ensure it's in normal document flow */
    margin-right: 10px; /* Small gap to 'No' button if it was next to it */
    background-color: green;
}

/* Specific styling for the 'No' button to make it run */
#no-button {
    position: absolute; /* Allows JavaScript to control its exact position */
    left: 50%; /* Initial horizontal position */
    top: calc(50% + 150px); /* Initial vertical position, below other content */
    transform: translateX(-50%); /* Center horizontally without affecting vertical */
    transition: none !important; 
    z-index: 999; 
    background-color: red;
}

.timestamp {
    margin-top: 20px;
    font-size: 0.9em;
    color: #95a5a6;
}