.bodymit {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;

 
  }

  .loader-container {
    text-align: center;
    width: 600px;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
  
  }

  .progress-bar {
  
    width: 100%;
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
  }

  .progress-fill {
    height: 20px;
    width: 0%;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transition: width 1s linear;
  }

  .status-text {
    margin-top: 50px; /* moves the loading text downward */
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  .out-stock {
    color: #e74c3c;
  }

  /* Error message hidden initially with fade-in effect */
  #errorMessage {
    display: none;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    margin-top: 30px;
    text-align: left;
  }

  .alert {
    padding: 15px;
    border-radius: 5px;
    background-color: #d9edf7;
    color: #31708f;
    margin-bottom: 20px;
  }

  .text-center {
    text-align: center;
  }

  .btn {
    padding: 8px 16px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
  }

  .btn:hover {
    background: #0056b3;
  }

  .margin-bottom {
    margin-bottom: 15px;
    font-size:18px;
  }