body {
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  color: #3a4a6f; /* dark blue-ish */
  background-color: #ffffff;
}

.togma-header {
  background-color: #e6f0fb; /* very light blue */
  border-bottom: 1px solid #c2d1f0;
}

.togma-content {
  padding: 10px;
  background-color: #e6f0fb;
}

.togma-content-2 {
  padding: 10px 10px 20px 10px;
  background-color: #e6f0fb;
  display: none;
}

.tgm {
  display: none;
}

#app {
  margin-top: -10px;
}

.main-app,
.main-app-2 {
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(58, 74, 111, 0.1);
  transition: box-shadow 0.3s ease;
}


/* new styles */

/* Buttons */
.btn,
b-button {
  background: linear-gradient(to bottom right, #00C0FF, #316efd);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  padding: 7px 16px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 3px 6px rgba(74, 144, 226, 0.3);
}

.btn:hover,
b-button:hover {
  background: linear-gradient(to bottom right, #00C0FF, #316efd);
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(74, 144, 226, 0.35);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(to bottom right, #00C0FF, #4218B8);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  padding: 7px 16px;
  box-shadow: 0 3px 6px rgba(74, 144, 226, 0.3);
  transition: all 0.5s ease-in-out;
  min-height: 36px; /* match height with boxes */
}

.btn-primary:hover {
  background: linear-gradient(to bottom right, #00C0FF, rgb(51, 18, 143));;
  transform: translateY(-1px);
  box-shadow: 0 6px 12px rgba(74, 144, 226, 0.35);
}

/* Tab nav wrapper */
.nav-tabs {
  border-bottom: 1px solid #c2d1f0; /* light blue border */
}

/* Tab nav items */
.nav-tabs .nav-link,
.nav-pills .nav-link {
  color: #3a4a6f; /* dark blue text */
  background-color: #e6f0fb; /* very light blue bg */
  border: 1px solid transparent;
  border-radius: 8px 8px 0 0;
  margin-right: 4px;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Active tab */
.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
  background-color: #4a90e2; /* bright blue */
  color: white !important;
  border-color: #4a90e2 #4a90e2 #ffffff;
  box-shadow: 0 3px 6px rgba(74, 144, 226, 0.3);
}

/* Hover effect */
.nav-tabs .nav-link:hover,
.nav-pills .nav-link:hover {
  background-color: #79b8f8; /* lighter blue */
  color: white;
}

/* Card tabs style */
.card .nav-tabs .nav-link {
  border-radius: 8px 8px 0 0;
 
}

.card .nav-tabs .nav-link.active {
  border-bottom-color: white;
}


/* Notification boxes */
.success-box {
  background-color: #8bc34a; /* light green */
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 16px;  /* Increased padding like buttons */
  min-height: 36px;   /* Match button height */
  display: inline-flex;
  align-items: center; /* vertically center text */
  line-height: 1;
  white-space: nowrap; /* avoid wrapping */
}

.warning-box {
  background-color: #dbd173; /* light yellow #efe266;*/
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 16px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

.error-box {
  background-color: #d9534f; /* keep red for errors */
  color: white;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 7px 16px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

/* Console output - no background block */
#console-result {
  
  font-size: 0.9rem;
  color: #3a4a6f;
  margin-top: 10px;
  padding-left: 5px;
  border-left: 3px solid #5a9bf6;
}


 /* Status badges */
 .success-box,
 .warning-box,
 .error-box {
   padding: 4px 10px;
   border-radius: 6px;
   font-size: 0.75rem;
   font-weight: 500;
   display: inline-block;
   line-height: 1.3;
 }
  /* Common base for status boxes and buttons */
  .error-box,
  .warning-box,
  .success-box {
    display: inline-flex;
    align-items: center; /* vertically center text */
    padding: 7px 16px;    /* equal padding */
    font-size: 0.875rem;  /* consistent font size */
    font-weight: 500;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;  /* avoid wrapping */
  }
 
  /* Optionally add a bit of margin to boxes for spacing */
  .error-box,
  .warning-box,
  .success-box {
    margin-right: 10px;
  }
  
 /* Table headers and hover */
 .table thead {
  background-color: #dbe9fb;
  font-weight: 600;
  color: #2c3e70;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #2c3e70;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #cbdcfb;
  vertical-align: middle;
}

/* Download button style */
.table .btn {
  background: linear-gradient(to bottom right, #00C0FF, #4218B8);
  color: #fff !important;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(74, 144, 226, 0.25);
  border: none;
}

table {
  margin-bottom: 0 !important;
}

.table .btn:hover {
  background: linear-gradient(to bottom right, #00C0FF, #4218B8);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}
