/* seniorportal.css */
/* Large, legible fonts and high contrast for ADA accessibility */

body {
    background-color: #f0f8ff; /* Light blue for calm visual tone */
    font-family: Arial, sans-serif;
    font-size: 20px; /* Larger base font */
    color: #111;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Main headings */
h1 {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

/* Paragraphs */
p {
    font-size: 1.4em;
    margin: 20px auto;
    max-width: 600px;
    color: #222;
}

/* Buttons */
.login-btn {
    font-size: 1.5em;
    padding: 15px 35px;
    background-color: #004080; /* Dark blue for contrast */
    color: #ffffff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
    display: inline-block;
}

.login-btn:hover,
.login-btn:focus {
    background-color: #002a5c;
    outline: 3px solid #ffd700; /* Gold focus ring for keyboard navigation */
}

/* Improve focus visibility */
a:focus,
button:focus,
input:focus {
    outline: 3px solid #ffd700;
    outline-offset: 2px;
}

/* Make everything readable */
input[type="email"],
input[type="password"],
input[type="text"] {
    font-size: 1.3em;
    padding: 12px;
    width: 80%;
    max-width: 400px;
    margin: 10px auto;
    border-radius: 8px;
    border: 1px solid #888;
    display: block;
}

/* Screen reader support - visually hidden but accessible */
.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Increase spacing for touch devices */
button, a, input {
    touch-action: manipulation;
}

/* Responsive font scaling */
@media (max-width: 600px) {
    body {
        font-size: 18px;
    }

    .login-btn {
        font-size: 1.2em;
        padding: 12px 25px;
    }
}
/* === Dashboard Layout Styles === */
.section {
    margin: 40px auto;
    padding: 20px;
    max-width: 800px;
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

h2 {
    font-size: 2em;
    color: #003366;
    margin-bottom: 10px;
}

iframe {
    border: none;
    width: 100%;
}

.button-large {
    font-size: 1.5em;
    padding: 15px 30px;
    background-color: #006400;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 20px;
}

.button-large:hover,
.button-large:focus {
    background-color: #004d00;
    outline: 3px solid #ffd700;
}

.center {
    text-align: center;
}
