/* Base resets */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f5f7;
  margin: 0;
  padding: 20px;
  color: #172b4d;
}

a {
  color: #0052cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

table.main {
  background-color: white;
  box-shadow: 0 2px 8px rgba(9, 30, 66, 0.15);
  width: 100%;
  max-width: 1200px;
}

.top1 {
  background-color: #0285C6;
  color: white;
  padding: 20px 10px;
  font-size: 24px;
  font-weight: 500;
}

.top2 {
  background-color: #0052cc;
  color: white;
  padding: 15px 10px;
  font-size: 18px;
  font-weight: 400;
}

.a18white,
.a24white {
  color: white;
  font-size: 18px;
}

.a24white {
  font-size: 24px;
}

.a18red {
  font-size: 18px;
  color: #de350b;
  font-weight: 600;
}

.btn {
  display: inline-block;
  background-color: #0052cc;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
  margin: 10px 0;
  border: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background-color: #0747a6;
}

table.box1 {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #ffffff;
  border: 1px solid #dfe1e6;
}

table.box1 th,
table.box1 td {
  padding: 12px 10px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #dfe1e6;
}

table.box1 th {
  background-color: #ebecf0;
  color: #172b4d;
  font-weight: 600;
}

table.box1 tr:hover {
  background-color: #f4f5f7;
}

table.box1 td a {
  color: #0052cc;
  font-weight: 500;
}

.open1 {
  background-color: #deebff;
  color: #0052cc;
  font-weight: 600;
  padding: 4px 8px;
}

.open2 {
  background-color: #fff722;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
}

.open3 {
  background-color: #62f952;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
}

.closed {
  background-color: #e6e5e5;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  padding: 4px 8px;
}

.tile, .tile1, .main, .menu1, .menu2, .box1, .top1, .top2, .responsible, .customer, .textbox, .btn, .btn1 {
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

.textbox {
  background: #87a0ef12;
  border: 0;
  font-family: Arial;
  color: #000;
  font-size: 14px;
  padding: 5px;
}

.responsible {
  background: #e6e5e5;
  font-size: 16px;
  color: #e70101;
  font-weight: bold;
  text-decoration: none;
}

.customer {
  /*background: #006699;*/
  font-size: 14px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.btn1 {
  background: #e4e4e4;
  border: 0;
  padding: 5px 10px;
}

.a12black {
  font-size: 12px;
  color: #000;
}

.a14white {
  font-size: 14px;
  color: #fff;
  font-weight: bold;
}

.a14white:hover,
.a16white:hover {
  color: #fce701;
}

.a16white {
  font-size: 18px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.a12red {
  font-size: 12px;
  color: #d50115;
  font-weight: bold;
}

.a12grey {
  font-size: 12px;
  color: #333;
}

.a16black {
  font-size: 16px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

/* Responsive: Stack rows on small screens */
@media (max-width: 768px) {
  .top1, .top2 {
    font-size: 16px;
    text-align: center;
  }

  table.box1,
  table.box1 thead,
  table.box1 tbody,
  table.box1 th,
  table.box1 td,
  table.box1 tr {
    display: block;
  }

  table.box1 tr {
    margin-bottom: 15px;
    background-color: #fff;
    border: 1px solid #dfe1e6;
    padding: 10px;
  }

  table.box1 td {
    text-align: right;
    position: relative;
    padding-left: 50%;
    border: none;
    border-bottom: 1px solid #f0f0f0;
  }

  table.box1 td::before {
    position: absolute;
    left: 10px;
    top: 12px;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #6b778c;
    text-align: left;
  }

  table.box1 td:nth-of-type(1)::before { content: "Number"; }
  table.box1 td:nth-of-type(2)::before { content: "Type"; }
  table.box1 td:nth-of-type(3)::before { content: "Description"; }
  table.box1 td:nth-of-type(4)::before { content: "Tags"; }
  table.box1 td:nth-of-type(5)::before { content: "Status"; }
  table.box1 td:nth-of-type(6)::before { content: "Responsible"; }
  table.box1 td:nth-of-type(7)::before { content: "Close Date"; }
}

td.top2 {
    background: #fff;
}
td.top2 .a18white {
    color: #0084c3;
}