body {
    font-family: 'Courier New', Courier, monospace;
    padding: 30px;
}

h2 {
    text-align: center;
}

.tabs {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tabs button,
.tab-button {
    padding: 4px 10px;
    background: #ddd;
    border: 1px solid #aaa;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    color: white;
    border-radius: 4px;
}

.tabs button.active,
.tab-button.active {
    background: #999;
}

.tab {
    display: none;
}

.tab.active {
    display: block;
}

.info-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    gap: 6px;
}

.info-box {
    border: 1px solid #000;
    padding: 6px;
    font-size: 14px;
    flex-grow: 1;
}

.info-box label {
    display: block;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 4px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    border: 1px solid black;
    padding: 6px;
    text-align: center;
}

th {
    background-color: #eee;
}

.critical {
    color: red;
    font-weight: bold;
}

.critical-warning {
    background: #ffecec;
    color: #a00;
    font-weight: bold;
    padding: 8px;
    text-align: center;
    border: 1px solid #a00;
}

.filter-form {
    margin-bottom: 20px;
    text-align: center;
}

.maintenance-summary {
    margin-bottom: 24px;
}

/* Global bold text color */
strong, th, .bold-label {
    color: #003366; /* dark blue */
    font-weight: bold;
}

.logsheet-wrapper {
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    background-color: #fff;
    margin-top: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.pilot-input {
    width: 100%;
    box-sizing: border-box;
    padding: 4px 6px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

table th.pilot,
table td.pilot {
    width: 180px;
}

table th.initials,
table td.initials {
    width: 60px;
}

table th.tiny,
table td.tiny {
    width: 50px;
}

th.pilot, td.pilot {
    width: 180px;
}

th.initials, td.initials {
    width: 60px;
}

th.tiny, td.tiny {
    width: 50px;
}

.airplane-icon {
    display: inline-block;
    margin-left: 6px;
    animation: fly 1s linear infinite;
}

@keyframes fly {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(10px); opacity: 0.2; }
}

.flash-success {
    animation: flashGreen 0.8s ease;
}

@keyframes flashGreen {
    0%   { background-color: #d4edda; }
    100% { background-color: transparent; }
}

.highlight {
    background-color: #d4edda;
    transition: background-color 1s ease;
}
.spinner {
    animation: spin 1s infinite linear;
    display: inline-block;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-success {
    background-color: #28a745;
    border: 1px solid #28a745;
    color: white;
    padding: 8px 14px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}


