/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #1E40AF;
  --color-secondary: #3B82F6;
  --color-info: #7FAFEC;
  --color-success: #0A7A2F;
  --color-danger: #B00020;
  --color-surface: #F0F7FF;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(209, 225, 247, 0.6);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f2ff 100%);
  color: #1e293b;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 100vh;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

h1, h2, h3, h4 {
  font-weight: 600;
}

    .glass-card {
      background: rgba(255, 255, 255, 0.75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid rgba(209, 225, 247, 0.6);
      border-radius: 12px;
      box-shadow: 20px 20px 30px -5px rgba(0, 0, 0, 0.25);
    }

.text-xs {
  font-size: 0.7rem;
}

.text-sm {
  font-size: 0.8125rem;
}

.text-muted {
  color: #64748b !important;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 20px 20px 30px -5px rgba(0, 0, 0, 0.25);
  padding: 1.25rem;
}
.glass-but{
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 8px 8px 10px -2px rgba(0, 0, 0, 0.25);
  padding: 0.25rem;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}
.btn-primary:hover {
  background-color: #1a369d;
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline-primary:hover {
  background-color: rgba(30, 64, 175, 0.05);
}

.btn-secondary {
  background-color: #64748b;
  color: white;
}
.btn-secondary:hover {
  background-color: #546579;
}

.btn-outline-secondary {
  background-color: transparent;
  color: #64748b;
  border-color: #cbd5e1;
}
.btn-outline-secondary:hover {
  background-color: #f1f5f9;
}

.btn-danger {
  background-color: var(--color-danger);
  color: white;
}
.btn-danger:hover {
  background-color: #9a001c;
}

.btn-outline-danger {
  background-color: transparent;
  color: var(--color-danger);
  border-color: #fecaca;
}
.btn-outline-danger:hover {
  background-color: #fef2f2;
}

.btn-dark {
  background-color: #1e293b;
  color: white;
}
.btn-dark:hover {
  background-color: #0f172a;
}

.btn-outline-dark {
  background-color: transparent;
  color: #1e293b;
  border-color: #94a3b8;
}
.btn-outline-dark:hover {
  background-color: #f8fafc;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}

.form-control,
.form-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background-color: white;
  transition: border-color 0.2s;
}
.form-control:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-label {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  color: #1e293b;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.form-check-input {
  margin-top: 0.25rem;
}

.hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.help-badge {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 1;
  text-align: center;
  border-radius: 50%;
  background-color: #cbd5e1;
  color: #475569;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
}

.popover {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  max-width: 300px;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}
table th,
table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}
table th {
  font-weight: 600;
  color: #334155;
  font-size: 0.8125rem;
}
table tbody tr:last-child td {
  border-bottom: none;
}

.d-flex {
  display: flex;
}
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}
.col-md-4, .col-md-6, .col-md-7, .col-md-8, .col-md-12 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

@media (max-width: 768px) {
  .col-md-4,
  .col-md-6,
  .col-md-7,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
  .text-end {
    text-align: left !important;
  }
	h5.text-center{
		text-align: center !important;
	}
  .justify-content-between {
    justify-content: flex-start;
  }
  .gap-2, .gap-3 {
    gap: 0.5rem;
  }
}
.btn-outline-info {
  background-color: transparent;
  color: var(--color-info);
  border-color: var(--color-info);
}
.btn-outline-info:hover {
  background-color: rgba(127, 175, 236, 0.1);
}