/* ============================
   HEADER + NAVIGATION
============================ */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    padding: 6px 20px;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.logo {
    height: 96px; /* Larger logo */
    width: auto;
}

nav a {
    margin-left: 20px;
    text-decoration: none;
    font-weight: bold;
    color: #333;
}

nav a.active {
    color: #0078ff;
    border-bottom: 2px solid #0078ff;
    padding-bottom: 4px;
}

/* ============================
   GLOBAL LAYOUT
============================ */
body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background: #f5f5f5;
    color: #222;
}

h1 {
    text-align: center;
    margin-bottom: 25px;
}

.panel {
    background: #fff;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.field {
    margin-bottom: 15px;
}

.field.inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input, textarea, select, button {
    font-size: 16px;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
}

textarea {
    height: 80px;
}

button {
    background: #0078ff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
}

button.secondary {
    background: #555;
}

button:disabled {
    background: #aaa;
    cursor: not-allowed;
}

/* ============================
   TABLES
============================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table th, table td {
    border: 1px solid #ccc;
    padding: 8px;
}

table th {
    background: #eee;
}

#manifestTable th:nth-child(5) {
    background: #eee;
}

/* ============================
   LABEL PREVIEW
============================ */
.label {
    margin-top: 20px;
    padding: 15px;
    border: 2px dashed #aaa;
    background: #fafafa;
}

/* ============================
   MODAL
============================ */
.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 20px;
    width: 350px;
    border-radius: 8px;
}

.modal-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}
