.ports {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  max-width: 100%;
  table-layout: auto;
  box-sizing: border-box;
  text-align: left;
  border-spacing: 2;
  border-collapse: separate;
  border-radius: 10px 10px 0px 0px;
  font-size: 12px;
  padding: 3px 5px 3px 5px;
}

.list-ports {
  border: 1px solid #AAAAAA;
  border-radius: 0px 10px 0px 0px;
  padding: 2px 2px 2px 3px;
}

.edit-ports {
  border: 0px solid #AAAAAA;
  border-radius: 0px 10px 0px 0px;
  padding: 2px 2px 2px 3px;
}

table.AddInv {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
  border-spacing: 0;
  border-collapse: separate;
  border-radius: 10px;
  
}

table.AddInv td, table.AddInv th {
  border: 0px solid #AAAAAA;
  padding: 3px 3px 3px 15px;
}
table.AddInv tbody td {
  font-size: 16px;
}

table.AddInv thead {
  background: #1C6EA4;
  background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  border-bottom: 2px solid #444444;
}
table.AddInv thead th {
  font-size: 12px;
  font-weight: bold;
  color: #FFFFFF;
  text-align: right;
  border-left: 2px solid #D0E4F5;
}
table.AddInv thead th:first-child {
  border-left: none;
}

table.AddInv tfoot td {
  font-size: 14px;
}
table.AddInv tfoot .links {
  text-align: right;
}
table.AddInv tfoot .links a{
  display: inline-block;
  background: #1C6EA4;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 10px;
}
input[type=text], select, input[type=number], textarea {

  padding: 12px 10px;
  margin: 5px 5px 15px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
  min-width: 350px;
}



input[type="date"] {
    border: 1px solid #ccc; /* Example border */
    padding: 8px 10px;     /* Example padding */
    font-size: 14px;       /* Example font size */
    line-height: 1.5;      /* Helps with vertical alignment */
    color: #333;           /* Example text color */
    background-color: #fff;/* Example background color */
    border-radius: 10px;    /* Example rounded corners */
    box-sizing: border-box;/* Include padding and border in the element's total width and height */
    /* Add other basic styles as needed */
	
}

/* Styling on focus */
input[type="date"]:focus {
    border-color: #0073aa; /* Highlight border on focus, e.g., WordPress blue */
    box-shadow: 0 0 0 1px #0073aa; /* Add a subtle outline/shadow */
    outline: none; /* Remove default browser outline if desired */
}

input[type=submit] {
  width: 30%;
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  float: right;
}

input[type=submit]:hover {
  background-color: #45a049;
}
form {
	margin-left: 10px;
}

#myInput {
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 20px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
  float: right;
}

#myTable tr {
  border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
  background-color: #f1f1f1;
}
.wp-block-group.alignfull {
  margin-left: auto;
  margin-right: auto;
  max-width: 100vw;
  overflow-x: hidden;
}
/* Enhanced Detail Page Styles */
.wwa-detail-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.wwa-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.wwa-detail-title {
    font-size: 24px;
    color: #1C6EA4;
    margin: 0;
}

.wwa-back-link {
    display: inline-flex;
    align-items: center;
    color: #1C6EA4;
    text-decoration: none;
    font-weight: 500;
}

.wwa-back-link:hover {
    color: #144870;
}

.wwa-back-link::before {
    content: "←";
    margin-right: 5px;
}

.wwa-detail-section {
    margin-bottom: 25px;
}

.wwa-detail-section-title {
    font-size: 18px;
    color: #1C6EA4;
    padding: 8px 12px;
    background-color: #f0f7fc;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Enhanced Table Styles */
.wwa-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.wwa-detail-table th {
    background-color: #1C6EA4;
    color: white;
    padding: 12px 15px;
    text-align: left;
}

.wwa-detail-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.wwa-detail-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.wwa-detail-table tr:hover {
    background-color: #f0f7fc;
}

/* Vehicle Grid Styles */
.wwa-vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.wwa-vehicle-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    border-left: 4px solid #1C6EA4;
}

.wwa-vehicle-card h4 {
    margin-top: 0;
    color: #1C6EA4;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.wwa-vehicle-card p {
    margin: 8px 0;
}

.wwa-vehicle-card .vin-link {
    font-weight: bold;
    color: #1C6EA4;
    text-decoration: none;
}

.wwa-vehicle-card .vin-link:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wwa-vehicle-grid {
        grid-template-columns: 1fr;
    }
    
    .wwa-detail-table {
        display: block;
        overflow-x: auto;
    }
}
.wwa-missing-data {
    color: #999;
    font-style: italic;
}

.wwa-detail-table .subtext {
    color: #666;
    font-size: 0.9em;
    display: block;
}