/* General Styling for SecureMail */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
    margin: 0;
    padding: 0;
}

/* Brand Colors */
:root {
    --primary-color: #0F4CCB;
    --secondary-color: #ffffff;
    --font-color: #333333;
}

/* Global Page Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px;
}

.header img {
    width: 30%;
}

.header .user-info {
    float: right;
    font-size: 16px;
}

.navbar {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.navbar a {
    color: var(--secondary-color);
    text-decoration: none;
    margin: 0 10px;
}

/* Footer Styling - Ensure all text and links are white */
.footer {
    background-color: var(--primary-color);
    color: var(--secondary-color); /* White text */
    text-align: center;
    padding: 10px;
    position: fixed;
    width: 100%;
    bottom: 0;
}

.footer a {
    color: var(--secondary-color) !important; /* Force white links */
    text-decoration: none;
}

.footer a:visited, .footer a:hover, .footer a:active {
    color: var(--secondary-color) !important; /* Ensure white in all states */
}

/* Button Styling */
.button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.button:hover {
    background-color: #0D3FA7;
}

/* Form Inputs */
input[type="text"], input[type="password"], input[type="email"], textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 16px;
}

input[type="submit"] {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

/* Accessibility Settings */
.accessibility-large-text {
    font-size: 1.2em;
}

.accessibility-xlarge-text {
    font-size: 1.4em;
}

/* OpenDyslexic Font */
body.opendyslexic {
    font-family: 'OpenDyslexic', sans-serif;
}

/* Message Box */
.message-box {
    border: 1px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    background-color: #f7f7f7;
}

/* Error and Success Messages */
.error {
    background-color: #ffcccc;
    border-left: 5px solid #ff0000;
    padding: 10px;
    margin-bottom: 10px;
}

.success {
    background-color: #ccffcc;
    border-left: 5px solid #00ff00;
    padding: 10px;
    margin-bottom: 10px;
}