/* ============================= */
/*        DESKTOP STYLES         */
/* ============================= */

.app-container {
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    height: 100vh;
}

/* Left Panel: Order Form remains 280px wide */
.order-form {
    width: 280px;
}

/* Center: Visualizer adjusts to new margins */
.visualizer {
    margin-left: 280px;
    margin-right: 280px;
    width: calc(100% - 560px);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}



/* Fix for Order Summary scrollbar issue */
.order-summary {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #3a3a3a;
    padding: 20px;
    overflow: hidden !important; /* Force no scrollbars */
    box-sizing: border-box;
    z-index: 10;
    color: #ffffff;
    display: flex;
    flex-direction: column;
  }
  
  /* Ensure all children don't cause overflow */
  .order-summary > * {
    overflow: visible;
    flex-shrink: 0;
  }
  
  /* Ensure the table doesn't grow too large */
  .order-summary__table {
    max-height: calc(100vh - 320px);
    table-layout: fixed;
    width: 100%;
  }
  
  /* Override any potential body or html scrolling issues */
  body, html {
    overflow-x: hidden;
  }
  
  /* Make sure table cells don't overflow */
  .order-summary__table td {
    word-break: break-word;
    vertical-align: top;
  }

/* New: Customer Info Box */
.order-summary__customer-info {
    background-color: #e0e0e0;  /* Slightly light grey */
    color: #333333;           /* Dark text */
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 14px;
}

/* Header styling: reduced height with padding change, full width  */
.order-summary__header {
    background-color: #c21212;
    padding: 5px;             /* Reduced padding for lower height */
    text-align: center;
    margin-bottom: 15px;
}

.order-summary__header h4 {
    margin: 0;      /* Remove default top/bottom margins */
    font-size: 16px; /* (Optional) reduce font size if you want it smaller */
    line-height: 2;  /* (Optional) reduce line-height for tighter spacing */
  }

/* Order Summary Table */
/* Remove all borders except a white underline under the header row */
.order-summary__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.order-summary__table th {
    padding: 5px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #ffffff; /* white underline */
}

.order-summary__table td {
    padding: 5px;
    font-size: 14px;
}

/* Totals Section */
/* White horizontal lines only at the bottom */
.order-summary__totals {
    font-size: 14px;
    margin-bottom: 15px;
}

.order-summary__line {
    padding: 5px 0;
    border-bottom: 1px solid #ffffff;
}

.order-summary__line:last-child {
    border-bottom: none;
}

/* Order Button: Background #FF0000 */
.order-summary__button {
    width: 100%;
    padding: 10px;
    background-color: #555555;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.order-summary__button:hover {
    background-color: #e60000;
}

/* =============================
   Order History Styles
   ============================= */
.order-history {
  margin-top: 20px;
  max-height: 30vh;
  overflow-y: auto;
  border-top: 1px solid #555;
  padding-top: 10px;
}

.order-history__title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #ffffff;
}

.order-history__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.order-history__item {
  background-color: #444;
  border-radius: 4px;
  padding: 8px;
  font-size: 13px;
}

.order-history__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  font-weight: bold;
  border-bottom: 1px solid #555;
  padding-bottom: 5px;
}

.order-history__details {
  color: #ccc;
  display: flex;
  flex-direction: column;
  gap: 3px;
}




/* Existing desktop styles below... */

.order-form__option-button {
    padding: 8px;
    background-color: #656565;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 4px;
}

.sliding-panel__option-button {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #656565;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
}

.sliding-panel__cancel-button {
    width: 100%;
    padding: 8px;
    background-color: #555;
    border: none;
    color: #ffffff;
    cursor: pointer;
    border-radius: 4px;
}

.order-form {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #3a3a3a;
    padding: 20px;
    z-index: 10;
    height: 100vh;
    overflow-y: auto;
    border-radius: 0;
}

.order-form-header {
    display: none;
}



form {
    padding: 10px;
}

form div {
    margin-bottom: 10px;
}

label {
    display: block;
    font-size: 14px;
    color: #bbbbbb;
}

select, input {
    width: 100%;
    padding: 8px;
    background-color: #2c2c2c;
    border: 1px solid #555;
    color: #ffffff;
    border-radius: 4px;
    margin-top: 4px;
}

select:focus, input:focus {
    border-color: #2edee1;
    outline: none;
}

button {
    padding: 8px;
    background-color: #2edee1;
    border: none;
    color: #ffffff;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}

button:hover {
    background-color: #1bb8c1;
}

/* =============================
   Order Form Step Titles
   Table of Contents:
   1. .order-form__step-title - Orange box styling for Step 1 & Step 2 titles
============================= */

.order-form__step-title {
    background-color: #FFA500;  /* Orange background */
    color: #2c2c2c;             /* Dark contrasting text */
    padding: 10px;              /* Adequate padding for visual clarity */
    border-radius: 4px;         /* Slight rounding of corners */
    margin: 10px 0;             /* Spacing above and below the title */
    font-weight: bold;          /* Emphasize the step title */
    text-align: center;         /* Center the text */
  }
  


