.am-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.am-search-form {
    background-color: white;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    margin-bottom: 32px;
    overflow: hidden;
}

.am-search-form-header {
    background-color: #516494;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 30px;
    margin: 0;
}

.am-search-form-body {
    padding: 30px;
    background-color: #fff;
}

.am-search-form label {
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

.am-search-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.am-search-input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #D3D3D3;
    border-radius: 8px;
    font-size: 14px;
    background-color: white;
}

.am-btn-search {
    background-color: #516494;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
	border: 1px solid #516494;
}


.am-btn-search:hover {
    background-color: #002a54;
}

.am-btn-clear {
    background-color: white;
    color: #516494;
    padding: 12px 30px;   
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
	border: 1px solid #516494;
}

.am-btn-clear:hover {
    background-color: #516494;
	color: white;
}

.am-results-summary {
    margin-bottom: 20px;
    font-size: 16px;
    color: #242424;
	font-weight: 600;
}

.am-results-table {
    width: 100%;
    border-collapse: collapse;
    background: white;

}

.maincontent table.am-results-table th {
    background-color: #516494;
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: bold;
	border-right: 1px solid #D3D3D3;
	text-transform: uppercase;
}

.maincontent table.am-results-table td {
    padding: 15px;
    border-bottom: 1px solid #D3D3D3;
border-right:1px solid #D3D3D3;
}

.am-results-table tr:hover {
    background-color: #f9f9f9;
}

.am-results-table tr:last-child td {
    border-bottom: none;
}

.am-expired {
    color: red;
    font-weight: bold;
}

.am-qr-link {
    color: #1e3a5f;
    text-decoration: none;
    margin-right: 15px;
}

.am-qr-link:hover {
    text-decoration: underline;
}

.am-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 16px;
}

.am-search-hint {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    margin-top: 10px;
    font-weight: normal;
}

.inner-mcontent:has(.am-search-container) { background: transparent; padding: 0 15px;}

.maincontent table tr td:not(:last-child):after {display: none}

.table-wrapper {
    overflow-x: auto;
    border: 1px solid #d3d3d3;
    border-radius: 10px;
}

.maincontent .am-results-table tr:last-child td,
.maincontent .am-results-table tr {
    border-bottom: none;
}

.maincontent .am-results-table td:last-child, 
.maincontent .am-results-table th:last-child {
    border-right: none;
}

.number {white-space: nowrap;}
.number-th > span {white-space: nowrap;}

@media (max-width: 767px) {
	.am-search-input-group * {width: 100%;}
	.am-search-input-group {flex-direction: column;}
    .am-btn-clear  {text-align: center;}
}





