/* MODULE STYLES FOR EMPLOYEE PORTAL — UPDATED COLORS */

body {
    background-color: #f0f2f5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px;
}

.login-page {
    background-color: #f0f2f5;
}

.login-container {
    max-width: 400px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.login-container h2 {
    text-align: center;
    color: #713519;
}

h2 {
    color: #713519;
}

.login-container .error {
    color: red;
    font-weight: bold;
    text-align: center;
}

.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
}

.login-container button {
    background-color: #713519;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* TABLES */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #454f2c;
    color: white;
}

td.actions-cell {
    white-space: nowrap;
    text-align: left;
    vertical-align: middle;
}

.action-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 4px 6px;
    width: fit-content;
}

/* FORMS */

label {
    font-weight: 700;
    display: block;
    margin-top: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="number"],
textarea {
    width: auto;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
}

button[type="submit"] {
    background-color: #713519;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 15px;
}

/* LINKS */

a {
    color: #713519;
    text-decoration: underline;
}

a.full-width.view-notes {
    color: #713519;
    font-weight: bold;
}

.view-link {
    color: #713519;
    text-decoration: underline;
}

/* MESSAGES */

.success-message {
    color: green;
    font-weight: bold;
    margin: 10px 0;
}

.error-message {
    color: red;
    font-weight: bold;
    margin: 10px 0;
}

/* COMMENTS TIMELINE */

.comment-block {
    border: 1px solid #ccc;
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.comment-block strong {
    color: #454f2c;
}

.comment-block small {
    color: #888;
    font-size: 12px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    z-index: 9999;
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.notification.success {
    background-color: #1a580ad9;
}

.notification.error {
    background-color: #870806d1;
}

.notification.hide {
    opacity: 0;
    transform: translateY(-20px);
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

form button[type="submit"] {
    padding: 8px 12px;
    font-size: 14px;
    width: auto;
    min-width: 120px;
}

form button[type="button"] {
    padding: 8px 12px;
    font-size: 14px;
    width: auto;
    min-width: 120px;
}



/* ======= Standard Form Container Layout ======= */

.form-container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.form-container h2 {
    margin-bottom: 30px;
    color: #713519;
    font-size: 26px;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="file"],
input[type="date"],
select,
textarea {
    padding: 10px 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fafafa;
    width: auto;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

button[type="submit"] {
    background-color: #713519;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #454f2c;
}

button[type="button"]:hover {
    background-color: #454f2c;
}

h3 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
    margin-bottom: 20px;
    color: #454f2c;
}
