/*
      JavaScript 7th Edition
      Chapter 8
      Project 08-04

      Staff Directory Application Stylesheet
      Author: [Your Name]
      Date:   [Current Date]

      Filename: styles.css
*/

/* Reset basic elements and configure standard typography */
html {
   background-color: #f4f6f9;
   font-family: Arial, Helvetica, sans-serif;
   font-size: 16px;
   color: #333333;
}

body {
   max-width: 960px;
   margin: 0 auto;
   padding: 20px;
}

header {
   background-color: #1a365d;
   color: #ffffff;
   padding: 20px;
   border-radius: 5px 5px 0 0;
   text-align: center;
}

header h1 {
   margin: 0;
   font-size: 1.8rem;
}

article {
   background-color: #ffffff;
   padding: 30px;
   border-radius: 0 0 5px 5px;
   box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Style the file picker container wrapper */
#container {
   display: flex;
   flex-direction: column;
   gap: 15px;
}

label {
   font-weight: bold;
   font-size: 1.1rem;
   color: #2d3748;
}

input[type="file"] {
   padding: 10px;
   background-color: #edf2f7;
   border: 1px solid #cbd5e0;
   border-radius: 4px;
   cursor: pointer;
   max-width: 300px;
}

input[type="file"]:hover {
   background-color: #e2e8f0;
}

/* Style the dynamically generated staff web table */
table {
   width: 100%;
   border-collapse: collapse;
   margin-top: 30px;
   box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
}

th, td {
   padding: 12px 15px;
   text-align: left;
   border-bottom: 1px solid #e2e8f0;
}

th {
   background-color: #2b6cb0;
   color: #ffffff;
   text-transform: capitalize;
   font-weight: 600;
}

/* Zebra striping for improved reading scanning */
tr:nth-child(even) {
   background-color: #f7fafc;
}

tr:hover {
   background-color: #edf2f7;
}