/* Warranty Monitoring App - Newtronic Solution Theme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  background: url('assets/bgscreenlogo.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #2c3e50;
  min-height: 100vh;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
}

.navbar {
  background: linear-gradient(90deg, #003d82 0%, #004fa3 50%, #0056b3 100%) !important;
  border-bottom: 0;
  box-shadow: 0 4px 20px rgba(0, 61, 130, 0.25);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff !important;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.navbar-text {
  color: #e8f0f7 !important;
  font-weight: 500;
}

.btn-outline-light {
  color: #ffffff !important;
  border: 2px solid #ffffff !important;
  background-color: transparent;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-light {
  color: #003d82 !important;
  background: #ffffff !important;
  border: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-light:hover {
  background: #f0f4f8 !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-light {
  color: #333333;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  font-weight: 500;
}

.btn-light:hover {
  background-color: #f9f9f9;
  border-color: #cccccc;
}

.card {
  border: 0;
  border-radius: 0.85rem;
  box-shadow: 0 4px 15px rgba(0, 61, 130, 0.12);
  background: #ffffff;
  border-left: 5px solid #0056b3;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 25px rgba(0, 61, 130, 0.18);
  transform: translateY(-2px);
}

.card-header {
  border-radius: 0.85rem 0.85rem 0 0;
  background: linear-gradient(90deg, #003d82 0%, #0056b3 100%) !important;
  border-bottom: none;
  color: white;
}

.table {
  background: #ffffff;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 1px solid #e1e8ed;
}

.table thead th {
  background: linear-gradient(90deg, #e8f0f7 0%, #d4dfe8 100%);
  border-bottom: 2px solid #0056b3;
  font-weight: 600;
  color: #003d82;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.form-control,
.form-select {
  border-radius: 0.5rem;
  border: 1px solid #d1dce6;
  background-color: #ffffff;
  transition: all 0.3s ease;
  color: #2c3e50;
}

.form-control::placeholder {
  color: #7f8c8d;
}

.form-control:focus,
.form-select:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.15);
  background-color: #ffffff;
}

.btn-primary {
  border-radius: 0.5rem;
  padding: 0.6rem 1.3rem;
  background: linear-gradient(90deg, #0056b3 0%, #003d82 100%);
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.35);
  background: linear-gradient(90deg, #004fa3 0%, #003070 100%);
}

.btn-success {
  background: linear-gradient(90deg, #17a2b8 0%, #138496 100%);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.35);
  background: linear-gradient(90deg, #138496 0%, #0d6674 100%);
}

.btn-danger {
  background: linear-gradient(90deg, #dc3545 0%, #c82333 100%);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.35);
  background: linear-gradient(90deg, #c82333 0%, #a71d2a 100%);
}

.btn-secondary {
  background: #6c757d;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
}

.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 117, 125, 0.35);
  background: #5a6268;
}

.alert {
  border-radius: 0.5rem;
  border: none;
  background: #ffffff;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #f5c6cb;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #bee5eb;
}

.warranty-card {
  background: #ffffff;
}

.card-body p {
  margin-bottom: 0.75rem;
  color: #2c3e50;
  line-height: 1.6;
}

.card-body p strong {
  color: #003d82;
  font-weight: 600;
}

.footer-note {
  color: #7f8c8d;
}

.badge {
  border-radius: 0.3rem;
  padding: 0.4rem 0.7rem;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.badge.bg-success {
  background-color: #17a2b8 !important;
}

.badge.bg-danger {
  background-color: #dc3545 !important;
}

.table-responsive {
  border-radius: 0.85rem;
  background: #ffffff;
  border: 1px solid #e1e8ed;
}

h2 {
  color: #003d82;
  font-weight: 700;
}

.text-muted {
  color: #7f8c8d !important;
}
