/* General Styles */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1b1919;
}

.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

header {
    background-color: #0855a1;
    color: #fff;
    padding: 10px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

.logo {
    height: 60px; /* Adjust the height as needed */
    width: auto; /* Maintain aspect ratio */
}

.header-title {
    text-align: center;
    width: 100%; /* Ensure the title takes full width */
    margin-top: 10px; /* Space between logo and title */
}

.title {
    color: #ffffff;
    font-family: 'Times New Roman', serif;
    font-size: 30px;
    margin: 0;
}
 

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
}

nav a:hover {
    text-decoration: underline;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

nav ul li a:hover {
    text-decoration: underline;
}

.paper-viewer {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    background-color: #ffffff;
}
.paper-viewer iframe {
    width: 80%;
    height: 500px;
    border: none;
}

/* Footer Styles */
footer {
    background-color: #0855a1;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    margin-top: 200px;
}

footer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        height: 50px; /* Smaller logo for mobile */
    }

    .title {
        font-size: 24px; /* Smaller title for mobile */
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        font-size: 18px; /* Smaller font size for mobile */
    }
}

/* Flash Messages */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Login Page */
.login-container {
    max-width: 500px;
    margin: 100px auto;
    padding: 30px;
    background-color: #f7eeee;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    margin-bottom: px;
    font-size: 26px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 200;
}

.form-group input {
    width: 40%;
    padding: 10px;
    border: 1px solid #ffffff;
    border-radius: 4px;
    font-size: 16px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.btn:hover {
    background-color: #2980b9;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #3498db;
    color: #fff;
}

table tr:hover {
    background-color: #f1f1f1;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* Alerts */
.alert {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Notifications Page */
.status-read {
    color: #28a745;
    font-weight: 500;
}

.status-unread {
    color: #dc3545;
    font-weight: 500;
}

.notifications-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.notifications-container h2 {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
}

.progress-bar {
    width: 100%;
    background-color: #bfdce9;
    border-radius: 4px;
    margin: 10px 0;
}

.progress {
    height: 20px;
    background-color: #1f632a;
    border-radius: 4px;
}

/* Style for the feedback textarea */
#feedback {
    width: 100%; /* Full width of its container */
    height: 200px; /* Increased height */
    padding: 10px; /* Padding inside the textarea */
    font-size: 16px; /* Font size for better readability */
    border: 1px solid #ccc; /* Border color */
    border-radius: 4px; /* Rounded corners */
    resize: vertical; /* Allow vertical resizing */
}

/* Optional: Add hover and focus effects */
#feedback:hover {
    border-color: #007BFF; /* Change border color on hover */
}

#feedback:focus {
    border-color: #007BFF; /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Add a subtle shadow */
}

#status {
    font-size: 18px; /* Increase font size */
    padding: 10px;
    width: 200px; /* Adjust width */
    border-radius: 5px;
    font-weight: bold;
}

/* Color options based on selection */
#status option[value="approved"] {
    background-color: #28a745; /* Green */
    color: white;
}

#status option[value="needs_correction"] {
    background-color: #dc3545; /* Red */
    color: white;
}
