:root {
    --primary-green: #4CAF50;
    --dark-green: #388E3C;
    --light-gray: #f0f0f0;
    --medium-gray: #ccc;
    --dark-gray: #555;
    --text-color: #333;
    --background-color: #ffffff;
    --alert-orange: #d84315;
    --alert-orange-rgb: 216, 128, 21; /* RGB for #d84315 */
    --error-red: #cc0000;
    --error-red-rgb: 204, 0, 0; /* RGB for #cc0000 */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: var(--light-gray);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--background-color);
    margin: 0 auto; /* Center the container horizontally */
    /* overflow: hidden; Removed to allow scrolling on content area */
}

.universal-header {
    background-color: white;
    padding: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.main-content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto; /* Allow content to scroll */
    position: relative;
    background-image: url('/static/resident-app/pattern.svg');
    background-repeat: repeat;
    background-color: rgba(255, 255, 255, 0.95);
    background-blend-mode: lighten;
    background-size: 800px; /* Larger size for a subtle, spread-out effect */
    /* No explicit opacity or blend-mode here, relies on pattern.svg being subtle */
}

.main-content {
    text-align: center;
    padding: 20px;
}

.app-logo {
    max-width: 120px;
    height: auto;
}
            


.login-screen h2 {
    color: var(--dark-green);
    margin-bottom: 30px;
}

.login-input {
    width: 80%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
}

button, .nav-item, .circular-button {
    -webkit-tap-highlight-color: transparent; /* Remove blue highlight on tap */
    outline: none; /* Remove blue outline on focus */
}

.login-button {
    width: 80%;
    padding: 15px;
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
    box-sizing: border-box;
}

.login-button:hover {
    background-color: var(--dark-green);
}