/* Additional styles for the new MVC system */

/* General styles */
body {
    font-family: "MS PGothic", "MS UI Gothic", Osaka, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3 {
    margin-top: 0;
    font-weight: bold;
}

h1 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

h2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
}

h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

/* Layout */
#header {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
    padding: 10px 20px;
    position: relative;
}

#header h1 {
    margin: 10px 0;
}

#user-info {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 12px;
}

#content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

#footer {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #777;
}

/* Panels */
.panel {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.data-table th {
    background-color: #f5f5f5;
    padding: 8px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #ddd;
}

.data-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.data-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.data-table tr:hover {
    background-color: #f0f0f0;
}

/* Forms */
.form-row {
    margin-bottom: 15px;
}

.form-row label {
    display: inline-block;
    width: 120px;
    font-weight: bold;
}

.form-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.form-buttons {
    margin-top: 20px;
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

input[type="submit"],
input[type="button"],
input[type="reset"],
.btn {
    padding: 5px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.btn:hover {
    background-color: #e3e3e3;
}

/* Buttons */
.buttons {
    margin-top: 20px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
}

.btn-back:hover {
    background-color: #e3e3e3;
    text-decoration: none;
}

/* Date selector */
.date-selector {
    margin-bottom: 20px;
}

/* Special formatting */
.part-time {
    color: #FF6600;
    font-size: 90%;
}

.error-message {
    color: #d9534f;
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.success-message {
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid #d6e9c6;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 3px;
}