/* Main Theme Colors */
:root {
    --primary: #e30613;
    --secondary: #222;
    --accent: #f7d417;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #28a745;
    --tool-gray: #6c757d;
  }
  
  /* Main Background */
  body.bg {
    background: linear-gradient(145deg, var(--secondary) 0%, #000 100%);
    background-size: cover;
    min-height: 100vh;
    font-family: 'Roboto', sans-serif;
  }
  
  /* Card Styling */
  .card {
    background-color: var(--light);
    border: none;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }
  
  .card-body {
    padding: 2.5rem !important;
  }
  
  /* Alert Styling for Headers */
  .alert-success {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    position: relative;
  }
  
  /* Tool Icon Design */
  .alert-success::before {
    content: '\f7d9'; /* Wrench icon in Font Awesome */
    font-family: "Bootstrap Icons";
    margin-right: 10px;
    font-size: 1.4rem;
  }
  
  /* Button Styling */
  .btn-success {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
  }
  
  .btn-success:hover, .btn-success:focus {
    background-color: #c7000d;
    border-color: #c7000d;
    box-shadow: 0 0 15px rgba(227, 6, 19, 0.4);
  }
  
  .btn-primary {
    background-color: var(--secondary);
    border-color: var(--secondary);
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
  }
  
  .btn-primary:hover, .btn-primary:focus {
    background-color: #000;
    border-color: #000;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
  }
  
  /* Form Controls */
  .form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 12px;
    height: 58px;
    font-size: 1rem;
  }
  
  .form-floating label {
    padding: 1rem 0.75rem;
  }
  
  .form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(227, 6, 19, 0.25);
  }
  
  /* Links */
  a.text-primary {
    color: var(--primary) !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
  }
  
  a.text-primary:hover {
    text-decoration: underline;
    color: #c7000d !important;
  }
  
  /* Input Group */
  .input-group .btn-outline-secondary {
    border-color: #ced4da;
    color: var(--tool-gray);
  }
  
  .input-group .btn-outline-secondary:hover {
    background-color: #e9ecef;
    color: #495057;
  }
  
  /* User Type Radio Buttons */
  .user-type-container {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ced4da;
  }
  
  .user-type-option {
    margin: 0 !important;
  }
  
  .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
  }
  
  /* Left Side Column */
  .welcome-panel {
    background-color: rgba(0,0,0,0.5);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
  }
  
  .welcome-panel h2 {
    color: var(--light);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .welcome-panel h2::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background-color: var(--primary);
    bottom: -10px;
    left: 25%;
  }
  
  .welcome-panel p {
    color: #e1e1e1;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Tool Icons Row */
  .tool-icons {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .tool-icon {
    background-color: var(--tool-gray);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-size: 1.2rem;
  }
  
  /* Logo styling */
  .logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .logo-container img {
    width: 40px;
    height: auto;
  }
  
  /* Gear animation */
  @keyframes spin {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
  }
  
  .gear-icon {
    font-size: 1.5rem;
    color: var(--accent);
    animation: spin 8s linear infinite;
    display: inline-block;
    margin-right: 8px;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .card-body {
      padding: 1.5rem !important;
    }
    
    .user-type-container {
      flex-direction: column;
      gap: 10px;
    }
    
    .welcome-panel {
      padding: 20px;
    }
  }