/* ECMWF Blue: #0071BC */
:root {
  --ecmwf-blue: #006EAD;
  --ecmwf-light-blue: #D4E5F7;
  --ecmwf-dark-blue: #004876;
  --bg-gradient-1: #e8f1f7;
  --bg-gradient-2: #f5f8fb;
  --card-bg: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --shadow: rgba(0, 113, 188, 0.15);
}

body,
p,
textarea {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(180deg, var(--bg-gradient-1) 0%, var(--bg-gradient-2) 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  color: var(--text-dark);
  line-height: 1.6;
}

#logo {
  width: 32px;
  height: auto;
  margin-top: auto;
  margin-bottom: auto;
  transition: transform 0.3s ease;
}

#logo:hover {
  transform: scale(1.1) rotate(5deg);
}

.header {
  background: linear-gradient(135deg, #003d5c 0%, var(--ecmwf-blue) 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 1em 2em;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.header div {
  display: inline;
  padding-right: 1.5em;
  margin-top: auto;
  margin-bottom: auto;
}

.header div a {
  color: #252121;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.6em 1.2em;
  border-radius: 8px;
  position: relative;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header div a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.header div a.active {
  background-color: rgba(255, 255, 255, 0.3);
  border-bottom: 3px solid #ffffff;
}

.header div.user {
  font-weight: bold;
  margin-left: auto;
}

.header div.user a {
  color: #ffffff;
  background-color: rgba(75, 139, 228, 0.3);
  border: 2px solid #1abc9c;
}

.header div.user a:hover {
  background-color: rgba(104, 115, 201, 0.5);
}

.codehilite {
  border: 1px solid var(--ecmwf-light-blue);
  padding: 0.5em;
  border-radius: 6px;
  background-color: #f8f9fa;
}

.content-wrapper {
  display: flex;
}

.content {
  margin-left: auto;
  margin-right: auto;
  /* max-width: 1400px; */
  padding: 0 20px;
}

.mono {
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
}

td.left {
  text-align: left;
}

td.right {
  text-align: right;
}

td.middle {
  text-align: center;
}

.atos::before {
  content: '🌤️ ';
}

.lumi::before {
  content: '🐺 ';
}

.leonardo::before {
  content: '🎨 ';
}

.marenostrum::before {
  content: '🐬 ';
}

.test::before {
  content: '🧪 ';
}

.meluxina::before {
  content: '🧜‍♀️ ';
}

.ewc::before {
  content: '☁️ ';
}

.public::before {
  content: '🌐️ ';
}

.cli::before {
  content: '💻️ ';
}


span.json-string {
  max-width: 800px;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space:nowrap; */
  word-wrap: break-word;
  display: inline-block;
  vertical-align: top;
}


.float-right {
  float: right;
}

a {
  color: var(--ecmwf-blue);
  transition: color 0.3s ease;
  text-decoration: none;
}

a:hover {
  color: var(--ecmwf-dark-blue);
  text-decoration: underline;
}

a.icon-link {
  color: black;
  text-decoration: none;
}

.progressbar {
  margin-top: 0.5em;
  height: 1em !important;
  border-radius: 10px;
  overflow: hidden;
}

.progressbar.running .ui-widget-header {
  background: linear-gradient(90deg, #4caf50 0%, #45a049 100%);
}

.progressbar.stalled .ui-widget-header {
  background: linear-gradient(90deg, #f44336 0%, #e53935 100%);
}

.aifs::before {
  content: '🦕 ';
}

.unknown::before {
  content: '👽 ';
}

.anemoi::before {
  content: '💨 ';
}

.other::before {
  content: '🌐 ';
}

.inference::before {
  content: '🧠 ';
}

.training::before {
  content: '🧪 ';
}

.missing::before {
  content: '❓ ';
}

.status-error::before {
  content: '❌ ';
}

.status-ok::before {
  content: '✅ ';
}

.status-unknown::before {
  content: '❓ ';
}

a.active {
    color: var(--ecmwf-blue) !important;
    font-weight: bold;
}
