 /* === Body & Background === */
body {
    background: linear-gradient(135deg, #ff9f43, #ff6b00);
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
    margin: 0;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* === Scanner Box === */
.scanner-box {
    background: linear-gradient(135deg, #ff6b00, #ff9f43);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    width: 450px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.scanner-box h2 {
    margin-bottom: 15px;
    font-size: 24px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scanner-box input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    background: #fff3e0;
    color: #333;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.scanner-box input[type="text"]:focus {
    box-shadow: 0 0 5px 2px rgba(255,107,0,0.6);
    outline: none;
}

#result {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
}

/* === Table Container === */
.table-container {
    width: 90%;
    max-width: 1000px;
    background: #fff3e0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #333;
}

/* === Table Styles === */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ffae42;
    font-size: 14px;
    word-break: break-word;
}

th {
    background: #ff9f43;
    color: #fff;
}

tr:nth-child(even) td {
    background: #fff1e0;
}

tr:hover td {
    background: #ffd699;
}

/* === Pagination & Buttons === */
.pagination {
    text-align: center;
    margin-top: 15px;
}

.pagination a {
    color: #ff6b00;
    margin: 0 5px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
}

.pagination a:hover {
    text-decoration: underline;
}

#searchForm {
    text-align: center;
    margin-bottom: 20px;
}

#searchForm input {
    padding: 8px;
    width: 250px;
    border-radius: 5px;
    border: none;
    background: #fff1e0;
    color: #333;
}

#searchForm button {
    background: linear-gradient(135deg, #ff6b00, #ff9f43);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
    transition: all 0.3s ease;
}

#searchForm button:hover {
    opacity: 0.85;
}