.trending-area {
    padding-bottom: 25px;
}

.container-top {
    text-align: center;
    background-color: #2f3e46;
    padding: 20px;
    border-radius: 0 0 10px 10px;
    width: 100%;
}

.vehicle-type {
    display: inline-block;
    margin: 0 20px;
    text-align: center;
    cursor: pointer;
}

.vehicle-type img {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.vehicle-type p {
    color: white;
    margin-top: 10px;
}

.selected {
    border: 3px solid #00ff00;
    padding: 5px;
    border-radius: 15px;
}

.input-container {
    margin-top: 20px;
}

.input-container input {
    width: 300px;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.input-container p {
    color: #a0a0a0;
    margin: 5px 0 0 0;
}

.search-button {
    margin-top: 20px;
}

.search-button button {
    background-color: #00cfff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.loading-icon {
    margin-left: 10px;
    font-size: 16px;
    color: #00cfff;
}

.loading-container {
    margin-top: 10px;
    text-align: center;
    font-size: 18px;
    color: #00cfff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner {
    font-size: 30px;
    /* Tăng kích thước biểu tượng */
    margin-right: 10px;
    /* Khoảng cách giữa biểu tượng và chữ */
}

#searchButton:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

.message {
    margin-top: 20px;
    color: red;
    font-size: 18px;
}

.container-mid {
    width: 100%;
    margin: 20px auto;
    margin-right: 0;
    margin-left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.header {
    text-align: center;
    color: #ffc107;
}

.header .warning {
    color: #ffc107;
}

.header .success {
    color: green;
}
.header .failed {
    color: red;
}

.header i {
    font-size: 24px;
}

.header h1 {
    font-size: 24px;
    margin: 10px 0;
}

.header .ticket-number {
    font-size: 18px;
    color: #333;
}

.status {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.status div {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

.status .unresolved {
    background-color: #f8d7da;
    color: #721c24;
}

.status .resolved {
    background-color: #d4edda;
    color: #155724;
}

.violation-details {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.violation-details h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.violation-details table {
    width: 100%;
    border-collapse: collapse;
}

.violation-details table,
.violation-details th,
.violation-details td {
    border: 1px solid #ddd;
}

.violation-details th,
.violation-details td {
    padding: 10px;
    text-align: left;
}


.violation-details .unresolved {
    color: #d9534f;
    font-weight: bold;
}

.violation-details .resolved {
    color: green;
    font-weight: bold;
}

.contact-info {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
}

.contact-info p {
    margin: 5px 0;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.check-other {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px;
    background-color: #d9534f;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}

.check-other:hover {
    background-color: #c9302c;
}

@media (max-width: 600px) {
    .status {
        flex-direction: column;
    }

    .status div {
        margin-bottom: 10px;
    }
}

.main-tabs {
    display: flex;
    justify-content: space-around;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background-color: #f0f0f0;
    text-align: center;
    transition: all 0.3s;
}

.tab.active {
    background-color: #fff;
    font-weight: bold;
    border-radius: 10px 10px 0px 0px;
}

.tab.active p {
    font-weight: bold;
}

.tab-content,
.sub-content {
    display: none;
}

.tab-content.active,
.sub-content.active {
    display: block;
}

.form-container {
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 500px;
    max-width: 100%;
    display: inline-block;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select {
    width: calc(100% - 10px);
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group p {
    color: #a0a0a0
}

.container-dk {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.section-dk {
    margin-bottom: 20px;
}

.section-dk-header {
    background-color: #e9f0ff;
    padding: 10px;
    border-radius: 8px 8px 0 0;
    font-weight: bold;
}

.section-dk-content {
    padding: 10px;
    border: 1px solid #e9f0ff;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.row-dk {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.row-dk:last-child {
    border-bottom: none;
}

.label-dk {
    color: #666;
}

.value-dk {
    color: #333;
    font-weight: bold;
}

.container-dk table {
    width: 100%;
    border-collapse: collapse;
}

.container-dk table,
th,
td {
    border: 1px solid #e9f0ff;
}

.container-dk th,
td {
    padding: 10px;
    text-align: left;
}

.container-dk th {
    background-color: #e9f0ff;
}

.container-dk .table-responsive {
    overflow-x: auto;
}

@media (max-width: 600px) {
    .row-dk {
        flex-direction: column;
    }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {

    /* Force table to not be like tables anymore */
    .container-dk,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .container-dk thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .container-dk tr {
        border: 1px solid #ccc;
    }

    .container-dk td {
        /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        font-weight:bold;
    }

    .container-dk td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    /*
			Label the data
			*/
    .container-dk td:nth-of-type(1):before {
        content: "Số TT";
        color: #666;
    }

    .container-dk td:nth-of-type(2):before {
        content: "Biển đăng ký";
        color: #666;
    }

    .container-dk td:nth-of-type(3):before {
        content: "Số văn bản";
        color: #666;
    }

    .container-dk td:nth-of-type(4):before {
        content: "Ngày cảnh báo";
        color: #666;
    }

    .container-dk td:nth-of-type(5):before {
        content: "Nội dung";
        color: #666;
    }

    .container-dk td:nth-of-type(6):before {
        content: "Tình trạng";
        color: #666;
    }
}