/* styles for My TANs display   start */
/* Base styles for random codes table */
.random-codes-table {
    margin-top: 20px;
}

.random-codes-table form {
    margin-bottom: 20px;
}

.random-codes-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.random-codes-table th,
.random-codes-table td {
    padding: 8px;
    border: 1px solid #ddd;
}

.random-codes-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.random-codes-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.random-codes-table tbody tr:hover {
    background-color: #ddd;
}

.pagination {
    margin-top: 20px;
}

.pagination a {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    background-color: #f2f2f2;
    color: #333;
    text-decoration: none;
    border-radius: 3px;
}

.pagination a.current,
.pagination a:hover {
    background-color: #0073aa;
    color: #fff;
}

/* Responsive design */
@media only screen and (max-width: 768px) {
    /* Styles for tablets */
    .random-codes-table th,
    .random-codes-table td {
        padding: 6px;
    }
}

@media only screen and (max-width: 480px) {
    /* Styles for mobile devices */
    .random-codes-table th,
    .random-codes-table td {
        padding: 4px;
    }
}
/* My TANs display end */