/* Extracted from supplied QR Code Generator page. */

.fixed-top {
      top: -40px;
      transform: translateY(40px);
      transition: transform .3s;
  }
  hr { 
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  /* margin-left: auto;
  margin-right: auto; */
  border-style: inset;
  border-width: 2px;
  border-color: gold;
  background-color: gold;
  width:320px;
  opacity: 100%;
} 
 body {
      /*background: linear-gradient(to right, #e0eafc, #cfdef3);*/
      font-family: 'Segoe UI', sans-serif;
    }
    .card {
      border-radius: 20px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    }
    .input-group-text {
      background-color: #4e54c8;
      color: white;
      border: none;
    }
    .btn-calculate {
      background-color: #6f42c1;
      color: white;
    }
    .btn-calculate:hover {
      background-color: #563d7c;
    }
    .result-box .card {
      transition: transform 0.3s ease-in-out;
    }
    .result-box .card:hover {
      transform: translateY(-5px);
    }
       :root {
      --primary-color: #4361ee;
      --secondary-color: #3f37c9;
      --accent-color: #4cc9f0;
      --light-color: #f8f9fa;
      --dark-color: #212529;
    }
    
    body {
      background-color: #f5f7fa;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 20px rgba(0,0,0,0.15);
    }
    
    .card-header {
      background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
      color: white;
      border-radius: 12px 12px 0 0 !important;
    }
    
    .nav-tabs {
      border-bottom: none;
    }
    
    .nav-tabs .nav-link {
      border: none;
      color: var(--dark-color);
      font-weight: 500;
      padding: 12px 16px;
      border-radius: 8px;
      margin-right: 5px;
      transition: all 0.3s ease;
    }
    
    .nav-tabs .nav-link.active {
      background: var(--primary-color);
      color: white;
    }
    
    .nav-tabs .nav-link:hover:not(.active) {
      background: rgba(67, 97, 238, 0.1);
    }
    
    .form-control, .form-select {
      border-radius: 8px;
      padding: 12px 15px;
      border: 1px solid #e0e0e0;
    }
    
    .form-control:focus, .form-select:focus {
      border-color: var(--primary-color);
      box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
    }
    
    .btn-primary {
      background-color: white;
      border-color: var(--primary-color);
      border-radius: 15px;
      padding: 10px 20px;
      font-weight: 500;
    }
    
    .btn-primary:hover {
      background-color: var(--secondary-color);
      border-color: var(--secondary-color);
    }
    
    .qr-code-container {
      background: white;
      padding: 20px;
      border-radius: 12px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .qr-code-img {
      width: 200px;
      height: 200px;
      object-fit: contain;
      margin: 0 auto;
      display: block;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      padding: 10px;
      background: white;
    }
    
    .download-btn {
      background: var(--primary-color);
      color: white;
      border: none;
      padding: 10px 25px;
      border-radius: 8px;
      font-weight: 500;
      transition: all 0.3s ease;
      text-decoration: none;
      display: inline-block;
      margin-top: 15px;
    }
    
    .download-btn:hover {
      background: var(--secondary-color);
      color: white;
      transform: translateY(-2px);
    }
    
    .tab-content {
      padding: 20px 0;
    }
    
    .form-label {
      font-weight: 500;
      margin-bottom: 8px;
    }
    
    .form-text {
      font-size: 0.85rem;
      color: #6c757d;
    }

.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
