
body {
    font-family: verdana;
    margin: 0;
    background-color: #d6e3ff;
    color: #333;
}

header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo {
    height: 75px;
    margin-right: 20px;
}

h1 {
    font-size: 1.5em;
    margin: 0 auto; /* Center align the text */
    text-align: center;
}

h2 {
    font-size: 1.2em;
    margin: 0 auto; /* Center align the text */
    text-align: left;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 91px); /* Full height minus header */
}

.login-form {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #3d7af5;
}

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

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

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: #3d7af5;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #0056b3;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
}

/* Extractor Page Styles */
.logout-button {
    position: absolute;
    top: 25px;
    right: 20px;
    background-color: #dc3545;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
}

.logout-button:hover {
    background-color: #c82333;
}

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

.upload-section, .history-section {
    margin-bottom: 40px;
}

.upload-box {
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 10px;
}

.upload-box p {
    margin: 0;
    font-size: 0.7em;
    color: #666;
}

.file-list {
    list-style: none;
    padding: 0;
}

.file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 5px;
}

.delete-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.0em;
}

.extract-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto 0 auto;
    padding: 15px;
    background-color: #00bfbf;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.0em;
    cursor: pointer;
}

.extract-button:hover {
    background-color: #218838;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th, .history-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    font-size: 0.75em
}

.history-table th {
    background-color: #002060;
    color: white;
    font-size: 0.85em
}

.status-success {
    color: #28a745;
    font-weight: bold;
}

.status-failure {
    color: #dc3545;
    font-weight: bold;
}

/* Notification Styles */
#notification-area {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    transform: translateX(100%);
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.close-notification {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    line-height: 1;
    cursor: pointer;
    margin-left: 15px;
    opacity: 0.8;
}

.close-notification:hover {
    opacity: 1;
}

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.8em;
    color: #666;
}

.disclaimer {
    font-size: 0.8em;
    color: #666;
    text-align: center;
    margin-top: 15px;
}
