/*    JavaScript 7th Edition
      Chapter 7
      Hands-on Project 7-4

      Author: Your Name
      Date: Today's Date
*/

/* General page styling resets */
body {
   font-family: Arial, sans-serif;
   background-color: #f4f6f9;
   color: #333;
   margin: 0;
   padding: 20px;
}

header {
   background-color: #2c3e50;
   color: #fff;
   padding: 10px 20px;
   text-align: center;
   border-radius: 4px;
   margin-bottom: 20px;
}

article {
   background: #fff;
   max-width: 600px;
   margin: 0 auto;
   padding: 30px;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
   color: #2c3e50;
   border-bottom: 2px solid #ecf0f1;
   padding-bottom: 10px;
   margin-top: 0;
}

/* Form structure layout */
#inputBox {
   margin-bottom: 20px;
   display: flex;
   align-items: center;
}

#inputBox label {
   font-weight: bold;
   margin-right: 10px;
   flex: 0 0 130px;
}

#inputBox input[type="text"] {
   flex: 1;
   padding: 8px 12px;
   font-size: 16px;
   border: 1px solid #ccc;
   border-radius: 4px;
   outline: none;
}

#inputBox input[type="text"]:focus {
   border-color: #3498db;
}

/* Action button configurations */
#buttons {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 10px;
   margin-bottom: 25px;
}

#buttons input[type="button"] {
   background-color: #3498db;
   color: white;
   border: none;
   padding: 12px;
   font-size: 14px;
   font-weight: bold;
   border-radius: 4px;
   cursor: pointer;
   transition: background-color 0.2s;
}

#buttons input[type="button"]:hover {
   background-color: #2980b9;
}

/* Special accent styling for top button actions */
#topButton {
   background-color: #e67e22 !important;
}

#topButton:hover {
   background-color: #d35400 !important;
}

/* Status block notification */
#statusParagraph {
   font-style: italic;
   font-weight: bold;
   color: #e74c3c;
   background: #fadbd8;
   padding: 10px;
   border-left: 5px solid #e74c3c;
   border-radius: 4px;
   min-height: 20px;
}

/* Empty fallback status configuration */
#statusParagraph:empty {
   display: none;
}

/* Customer Queue List items formatting */
ol#queueList {
   background: #f8f9fa;
   padding: 15px 40px;
   border-radius: 6px;
   border: 1px solid #e2e8f0;
}

ol#queueList li {
   padding: 6px 0;
   border-bottom: 1px dashed #e2e8f0;
   font-size: 15px;
}

ol#queueList li:last-child {
   border-bottom: none;
}