:root {
  --tja-red: #e63946;
  --tja-gold: #f1c40f;
  --tja-blue: #1d3557;
  --tja-light: #f7f7f7;
  --tja-dark: #333;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--tja-light);
  color: var(--tja-dark);
}

/* APP SHELL */
#app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
.tja-header {
  background: var(--tja-blue);
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tja-logo {
  font-size: 22px;
  font-weight: bold;
  color: var(--tja-gold);
}

.tja-nav, .tja-nav-right {
  display: flex;
  align-items: center;
}

.tja-nav button,
.tja-nav-right button {
  background: var(--tja-red);
  color: white;
  border: none;
  padding: 8px 12px;
  margin-right: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.tja-nav button:hover,
.tja-nav-right button:hover {
  background: #d62839;
}

/* FOOTER */
.tja-footer {
  background: var(--tja-blue);
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: auto;
}

/* MAIN CONTENT */
#app-content {
  padding: 20px;
}

/* CARDS */
.card {
  background: white;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ddd;
}

/* LOADING SCREEN */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading.hidden {
  display: none;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid var(--tja-blue);
  border-top-color: var(--tja-gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* INPUTS */
input, select, textarea {
  width: 100%;
  padding: 10px;
  margin: 8px 0 15px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

/* BUTTONS */
button {
  background: var(--tja-red);
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
}

button:hover {
  background: #d62839;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table th, table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

table th {
  background: #eee;
}
