div#container
{
   width: 970px;
   position: relative;
   margin: 0 auto 0 auto;
   text-align: left;
}
body
{
   background-color: #87CEEB;
   color: #000000;
   font-family: Arial;
   font-weight: normal;
   font-size: 16px;
   line-height: 1.1875;
   margin: 0;
   text-align: center;
}
#wb_LayoutGrid1
{
   clear: both;
   position: relative;
   table-layout: fixed;
   display: table;
   text-align: center;
   width: 100%;
   background-color: #00246A;
   background-image: none;
   border: 0px solid #CCCCCC;
   border-radius: 0px;
   box-sizing: border-box;
   margin: 0;
}
#LayoutGrid1
{
   box-sizing: border-box;
   padding: 10px 0 10px 0;
   margin-right: auto;
   margin-left: auto;
}
#LayoutGrid1 > .row
{
   margin-right: 0;
   margin-left: 0;
}
#LayoutGrid1 > .row > .col-1
{
   box-sizing: border-box;
   font-size: 0;
   min-height: 1px;
   padding-right: 0px;
   padding-left: 0px;
   position: relative;
}
#LayoutGrid1 > .row > .col-1
{
   float: left;
}
#LayoutGrid1 > .row > .col-1
{
   background-color: transparent;
   background-image: none;
   border: 0px solid #FFFFFF;
   border-radius: 0px;
   width: 100%;
   text-align: center;
}
#LayoutGrid1:before,
#LayoutGrid1:after,
#LayoutGrid1 .row:before,
#LayoutGrid1 .row:after
{
   display: table;
   content: " ";
}
#LayoutGrid1:after,
#LayoutGrid1 .row:after
{
   clear: both;
}
@media (max-width: 480px)
{
#LayoutGrid1 > .row > .col-1
{
   float: none;
   width: 100% !important;
}
}
#wb_Image1
{
   margin: 0;
   vertical-align: top;
}
#Image1
{
   border: 0px solid #000000;
   border-radius: 0px;
   box-sizing: border-box;
   padding: 0;
   display: block;
   width: 100%;
   height: auto;
   max-width: 309px;
   margin-left: auto;
   margin-right: auto;
   vertical-align: top;
}
/* ---------- General UI ---------- */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Segoe UI, Tahoma, Geneva, Verdana, sans-serif;background:#f5f5f5;color:#333;padding:20px}
.container{max-width:1200px;margin:0 auto;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(0,0,0,.08);padding:24px}
h1{color:#2c3e50;margin-bottom:16px;border-bottom:1px solid #eee;padding-bottom:8px}
h2{color:#3498db;margin:20px 0 12px}
.form-section{background:#f9f9f9;padding:16px;border-radius:6px;border:1px solid #e0e0e0;margin-bottom:18px}
.input-group{display:flex;gap:10px;margin-bottom:12px}
input[type="text"],select,input[type="date"],input[type="number"]{flex:1;padding:10px;border:1px solid #ddd;border-radius:4px;font-size:15px}
button{padding:9px 16px;background:#3498db;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:15px}
button:hover{background:#2980b9}
.action-buttons{display:flex;gap:8px;flex-wrap:wrap}
.print-btn{background:#2ecc71}
.print-btn:hover{background:#27ae60}
.print-all-btn{background:#9b59b6}
.print-all-btn:hover{background:#8e44ad}
.export-btn{background:#3498db}
.import-btn{background:#e67e22}
.delete-btn{background:#e74c3c}
.settings{background:#fff8e1;padding:12px;border-radius:6px;border:1px solid #ffd54f;margin-top:12px}
.employee-count{margin-top:10px;font-style:italic;color:#666}
.empty-state{text-align:center;padding:24px;color:#7f8c8d;background:#f9f9f9;border-radius:6px;margin:12px 0}

/* ---------- Print container (hidden on screen) ---------- */
.labels-for-printing{display:none}


/* ---------- Print CSS for Avery 5160 ---------- */
@media print {
  @page { 
    size: letter; 
    margin: 0.5in 0.1875in; /* Correct Avery 5160 margins */
  }
  
  body * { 
    visibility: hidden; 
  }
  
  .labels-for-printing, 
  .labels-for-printing * {
    visibility: visible;
  }
  
  .labels-for-printing {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .avery-sheet {
    width: 8.5in;
    height: 11in;
    display: grid;
    grid-template-columns: repeat(3, 2.625in);
    grid-template-rows: repeat(10, 1in);
    gap: 0;
    page-break-after: always;
    /* Add a light background to see the sheet boundaries */
    background-color: rgba(0,0,0,0.02);
  }
  
  .avery-label {
    width: 2.625in;
    height: 1in;
    padding: 0.08in;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-family: Arial, sans-serif;
    /* Light border to see label boundaries during testing */
    border: 1px dashed #ccc;
  }
  
  .label-id {
    font-weight: bold;
    font-size: 16pt;
    line-height: 1;
    margin-bottom: 2px;
  }
  
  .label-name {
    font-weight: bold;
    font-size: 12pt;
    line-height: 1;
    margin-bottom: 2px;
  }
  
  .label-date {
    font-size: 9pt;
    line-height: 1;
    font-weight: bold;
  }
}

/* ---------- Responsive ---------- */
@media (max-width:768px){ .input-group{flex-direction:column} .action-buttons{flex-direction:column} }
