  @keyframes dotBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px);
    }
  }

 /* Basic form container styling */
  #stripe-payment-form {
    max-width: 500px; /* Limit width for better appearance on larger screens */
    margin: 0 auto; /* Center the form */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  /* Card input container */
  .input-container {
    margin-bottom: 20px;
  }

  /* Button styling */
  .btn-submit {
    width: 100%; /* Button takes full width on smaller screens */
    padding: 12px;
    font-size: 16px;
    background-color: #5469d4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .btn-submit:hover {
    background-color: #4353b3;
  }

  /* Error message container */
  #error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
  }

  /* Responsive adjustments */
  @media (max-width: 600px) {
    /* Adjust the form layout for smaller screens */
    #stripe-payment-form {
      width: 90%; /* Use a larger percentage width on small screens */
      padding: 15px;
    }

    .btn-submit {
      font-size: 14px; /* Smaller button text on small screens */
    }
  }

  @media (min-width: 601px) and (max-width: 1024px) {
    /* Adjust form for tablets or medium-sized screens */
    #stripe-payment-form {
      width: 80%;
    }
  }

  @media (min-width: 1025px) {
    /* Adjust form for large screens */
    #stripe-payment-form {
      width: 100%;
    }
  }

 /* Divider Styling */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  text-align: center;
  width: 100%;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid #ccc;  /* Line style */
}

.divider span {
  padding: 0 10px;
  font-weight: bold;
  color: #333;
  font-size: 18px; /* Text size */
}

.stripe-logo {
  display: block;
  margin: -30px auto 10px;
  width: 150px;
  height: auto;
}

 .pay-button-label-container {
      margin: 15px;
   }

  .pay-button-row {
      display: flex;
      justify-content: center; /* Center the button */
      padding: 10px;
  }

  .pay-logo-card {
      height: 22px;
      margin-right: 10px;
  }

  .pay-button {
      font-size: 18px;
      width: 100%;
      max-width: 585px;
      height: auto; /* Ensure the button height adjusts to content */
      background-color: #353434;
      color: white; /* Default background color (PayPal blue) */
      border-radius: 5px; /* Optional: Add border radius for rounded corners */
      transition: background-color 0.3s ease; /* Smooth transition for background color change */
  }

  .pay-button-label-container {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  /* Responsive styles using media queries */
  @media (max-width: 768px) {
      .pay-button {
          width: 80%;  /* On smaller screens, make the button a little smaller */
          max-width: 280px;
          background-color: #353434;
          color: white; /* Keep the same background color */
      }
  }

  @media (max-width: 480px) {
      .pay-button {
          width: 90%;  /* Further reduce the size on very small screens */
          max-width: 250px;
          background-color: #1b74e4; /* Change background color for smaller screens */
      }

      .pay-button-text {
          font-size: 14px;  /* Adjust text size for smaller screens */
      }
  }

  /* Hover effect for the button */
  .pay-button:hover {
      background-color: #005ea6; /* Darker color on hover */
  }

  .paypal-button-container {
    margin-left: 249px;
    max-width: 0px;
  }

.shipping-cal-container {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 5px;
}

.terms-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.order-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 8px;
  width: 100%;
}

.order-manufac {
  width: 73% !important;
  margin: 6px;
} 
.order-sku {
  width: 73% !important;
  margin: 3px !important;
}

.order-descri {
  width: 290px;
  height: 74px;
}

.order-item-error-message {
  color: #932419;
  font-weight: bold;
  margin: 0.3em 0 0 2%;
  display: flex;
}

.order-summary-hint {
  margin-top: 30px;
  text-align: center;
  font-size: small;
}

.order-shipping-address {
  /*padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;*/
}

.order-billing-address {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.order-address-title {
  font-size: 131%;
  font-weight: bold;
}
.order-address {
  border-bottom: 2px solid #ccc;
  display: flex;
  justify-content: space-between; 
  align-items: center;
}

.address-copy-btn {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed position (stay in place when scrolling) */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.4); /* Background with transparency */
}

.modal-content {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 72%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

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

.calculate-shipping-cont {
  position: absolute;
  margin: 8px;
  margin-left: 35.3%;
}

.refund-row {
  background: #f4f4f4;
  border-radius: 4px;
  box-shadow: inset 0 1px 4px #ddd;
}

.refund-a {
  padding: 0px 10px !important;
  background-color: #5ea3d3 !important;
  color: #fff !important;
  text-decoration: black !important;
}


.input {
 font-size: larger;
}

.selection-dropdown{
 width: auto;
 padding: revert;
 height: 25px;
}

.ltd-sz {
  height: 30px;
}

.ltd-lg {
  width: 350px;
  height: 30px;
}

.order_items .has_many_fields ol {
  display: flex;
/*  display: grid;*/
  grid-template-columns: repeat(5, 1fr);  /* Two equal-width columns */
  gap: 10px;  /* Adjust the space between the columns */
}
.order_items .has_many_fields ol li {
  display: flex;
/*  width: max-content;*/
  flex-direction: column;
}
.order_items .has_many_fields ol li input {
  width: 100%;  
}

form fieldset ol > li.has_many_container.order_items{
    padding: 0px 10px !important;
}

table tr th {
  text-align: center;
}

.order-container {
  display: grid;
  grid-template-columns: auto auto;
  grid-gap: 8px;
  width: 100%;
}

.order-summary-hint {
  margin-top: 30px;
  text-align: center;
  font-size: small;
}

.dot-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: 60px;
  height: 20px;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.dot-loader span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #f68b1e;
  animation: dotBounce 1.5s infinite ease-in-out;
}

.dot-loader span:nth-child(1) {
  animation-delay: 0s;
}

.dot-loader span:nth-child(2) {
  animation-delay: 0.3s;
}

.dot-loader span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes dotBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.col-trim {
  width: 600px; /* adjust based on your UI */
  white-space: normal !important;
}
.col-year_make_model {
  width: 400px; /* adjust based on your UI */
  white-space: normal !important;
}
.user-dashboard {
  display: flex;
  background: #f8f9fa;
  min-height: 100vh;
  font-family: 'Helvetica', sans-serif;
}

/* Sidebar */
.dashboard-sidebar {
  width: 240px;
  background: #003d82;
  color: #fff;
  padding: 30px 20px;
  transition: all 0.3s ease-in-out;
}

.dashboard-sidebar h2 {
  font-size: 20px;
  margin-bottom: 25px;
}

.dashboard-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-sidebar ul li {
  margin-bottom: 12px;
}

.dashboard-sidebar ul li a {
  color: #cbd5e0;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
}

.dashboard-sidebar ul li a:hover,
.dashboard-sidebar ul li.active a {
  background: #4a5568;
  color: #fff;
}

/* Content */
.dashboard-content {
  flex: 1;
  padding: 40px;
}

.welcome-card {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 25px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.card h4 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #333;
}

/* Table */
.order-table {
  width: 100%;
  border-collapse: collapse;
}

.order-table th,
.order-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.order-table th {
  background: #f1f1f1;
  font-weight: 600;
}

.order-table tr:hover {
  background: #fafafa;
}

/* Buttons, Forms */
.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.form-control:focus {
  border-color: #4a90e2;
  outline: none;
}

.form-actions {
  margin-top: 20px;
}

/* ---------- RESPONSIVE DESIGN ---------- */

/* Tablets and below */
@media (max-width: 992px) {
  .user-dashboard {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    padding: 15px 20px;
    text-align: center;
  }

  .dashboard-sidebar ul {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }

  .dashboard-sidebar ul li {
    margin: 8px;
  }

  .dashboard-content {
    padding: 20px;
  }
}

/* Mobile phones */
@media (max-width: 600px) {
  .dashboard-sidebar h2 {
    display: none; /* hide big title for compact layout */
  }

  .dashboard-sidebar ul {
    flex-direction: column;
    align-items: stretch;
  }

  .dashboard-sidebar ul li a {
    padding: 10px;
    text-align: center;
  }

  .welcome-card {
    padding: 15px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .order-table th,
  .order-table td {
    font-size: 14px;
    padding: 8px;
  }

  .dashboard-content {
    padding: 15px;
  }
}

/* --- BACK BUTTON --- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  text-decoration: none;
  color: #333;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid #ddd;
  transition: 0.25s ease;
}

.back-btn:hover {
  background: #f5f5f5;
  transform: translateX(-3px);
}

/* --- PAGE HEADING --- */
.order-details-container h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #2d3436;
}

/* --- CARDS --- */
.summary-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #fafafa);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: 0.25s ease;
  border: 1px solid #f0f0f0;
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

.summary-card h3 {
  font-size: 18px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eee;
  font-weight: 600;
  color: #2c3e50;
}

/* --- TEXT INSIDE CARD --- */
.summary-card p {
  font-size: 14px;
  margin: 6px 0;
  color: #444;
}

/* --- ORDER ITEMS CARD --- */
.items-card {
  background: #ffffff;
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border: 1px solid #ededed;
}

.items-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #2d3436;
}

/* --- ORDER ITEMS TABLE --- */
.order-items-table {
  width: 100%;
  border-collapse: collapse;
}

.order-items-table th {
  text-align: left;
  padding: 12px;
  font-size: 14px;
  background: #f8f9fa;
  border-bottom: 2px solid #e5e5e5;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: #555;
}

.order-items-table td {
  padding: 12px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.order-items-table tr:hover {
  background: #f7f7f7;
  transition: 0.2s;
}

/* --- ANIMATION --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.order-link {
  font-weight: bold;
  color: #007bff;
}
.order-link:hover {
  text-decoration: underline;
}


.forgot-password-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-title {
  text-align: center;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

.form-subtext {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #444;
}

.form-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: #007bff;
  outline: none;
}

.form-button {
  width: 100%;
  background: #003d82;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s;
}

.form-button:hover {
  background: #0056b3;
}

.form-links {
  text-align: center;
  margin-top: 15px;
}

.back-link {
  font-size: 14px;
  color: #003d82;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

.reset-password-container {
  max-width: 400px;
  margin: 60px auto;
  background: #fff;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */


