/* AutoCode Generated CSS for project 1751539462094 */

/* Basic Reset and Body Styling */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Win11-like font stack */
    background-color: #f3f3f3; /* Light background */
    color: #333;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    min-height: 100vh;
    box-sizing: border-box; /* Include padding in height */
    overflow-y: auto; /* Allow scrolling if content overflows */
}

/* Main Container */
.container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    width: 100%;
    max-width: 450px; /* Max width for a focused app */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between sections */
}

/* Header */
h1 {
    text-align: center;
    color: #0078d4; /* A common Win11 accent color */
    margin-top: 0;
    margin-bottom: 0; /* Adjusted margin as container uses gap */
    font-size: 1.8em;
    font-weight: 600; /* Semi-bold */
}

/* Input Area Layout */
.input-section {
    display: flex;
    flex-direction: column; /* Stack label, input, button vertically */
    gap: 10px; /* Space between elements */
}

.input-section label {
    font-size: 1em;
    color: #555;
    margin-bottom: 5px; /* Space between label and input */
    display: block; /* Ensure label takes its own line */
}

/* Suburb Input Field */
#suburb-input {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 6px; /* Rounded corners */
    font-size: 1em;
    outline: none; /* Remove default outline */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%; /* Make input take full width */
    box-sizing: border-box; /* Include padding and border in width */
}

#suburb-input::placeholder {
    color: #999;
}

#suburb-input:focus {
    border-color: #0078d4; /* Accent color on focus */
    box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.2); /* Subtle glow */
}

/* Get Rain Button */
#predict-button {
    padding: 10px 20px;
    background-color: #0078d4; /* Accent color */
    color: #fff;
    border: none;
    border-radius: 6px; /* Rounded corners */
    font-size: 1em;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    width: 100%; /* Make button take full width */
    box-sizing: border-box;
    font-weight: 600; /* Semi-bold */
}

#predict-button:hover {
    background-color: #005a9e; /* Darker shade on hover */
}

#predict-button:active {
    background-color: #004073; /* Even darker on active */
}

#predict-button:focus {
     box-shadow: 0 0 0 2px rgba(0, 120, 212, 0.3); /* Subtle glow on focus */
}

#predict-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}


/* Result Display Area Container */
#result-section {
    padding: 15px;
    background-color: #e9e9e9; /* Light grey background */
    border: 1px solid #ddd;
    border-radius: 8px; /* Rounded corners */
    min-height: 60px; /* Give it some minimum height */
    display: flex; /* Use flexbox for centering/alignment */
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center content initially */
    text-align: center; /* Ensure text aligns center */
    word-break: break-word; /* Prevent long text overflow */
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Rain Prediction Text */
#prediction-text {
    margin: 0; /* Remove default paragraph margin */
    font-size: 1.1em;
    color: #1a1a1a; /* Darker text for readability */
    /* Initial state color - will be overridden by state classes */
}

/* Placeholder/Initial state for result area */
/* Apply to the text element itself */
#prediction-text:empty::before {
    content: 'Enter a suburb above to see the next rain prediction.';
    color: #666;
    font-style: italic;
    font-size: 0.9em;
}

/* State Styles for Prediction Text */
#prediction-text.loading {
    color: #0078d4; /* Accent color for loading */
    font-style: italic;
    /* Optional: add a loading spinner via ::before or ::after if desired */
}

#prediction-text.success {
    color: #107c10; /* Green for success */
    font-weight: 600; /* Make success text stand out */
}

#prediction-text.error {
    color: #c0392b; /* Red for errors */
    font-weight: 600;
}

#prediction-text.info {
    color: #555; /* Default or slightly subdued */
    font-style: italic;
}

/* Optional: Style for the container based on text state */
#result-section.error {
    border-color: #c0392b; /* Red border for errors */
    background-color: #fdedec; /* Light red background */
}

#result-section.success {
     border-color: #107c10; /* Green border for success */
     background-color: #e8f5e9; /* Light green background */
}

#result-section.info {
    border-color: #ddd; /* Default border */
    background-color: #e9e9e9; /* Default background */
}

#result-section.loading {
    border-color: #0078d4; /* Accent border for loading */
    background-color: #e1f5fe; /* Light accent background */
}


/* Hide the separate loading/error divs as we are using classes on #prediction-text */
/* Assuming script.js will be updated to only manage #prediction-text */
/* If script.js *must* use these, style them appropriately instead */
#loading-indicator,
#error-message {
    display: none !important;
}