/* ultimate-404-style.css */

.ultimate-404-wrap {
    font-family: Arial, sans-serif;
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-tab-wrapper {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.ultimate-404-nav-tab {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 5px;
    font-weight: bold;
    color: #0073aa;
    text-decoration: none;
    border: 1px solid #ddd;
    border-bottom: none;
    background-color: #f1f1f1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.ultimate-404-nav-tab:hover {
    background-color: #e1e1e1;
    color: #555;
}

.ultimate-404-nav-tab-active {
    background-color: #fff;
    color: #000;
    border-bottom: 1px solid #fff;
}

.ultimate-404-tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

.ultimate-404-tab-content.active {
    display: block;
}

/* Form and table styling for a classic look */
.ultimate-404-wrap form {
    margin: 15px 0;
}

.ultimate-404-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.ultimate-404-wrap table th,
.ultimate-404-wrap table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.ultimate-404-wrap table th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.ultimate-404-wrap input[type="text"],
.ultimate-404-wrap select {
    padding: 8px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
}

.ultimate-404-wrap input[type="submit"] {
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ultimate-404-wrap input[type="submit"]:hover {
    background-color: #005177;
}

/* Style the table */
/* Base table styling for larger screens */
.ultimate-redirect-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
}

.ultimate-redirect-table th,
.ultimate-redirect-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.ultimate-redirect-table th {
    background-color: #e5e5e5;
    font-weight: bold;
}

/* Enhanced button styling */
.ultimate-redirect-table .button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 13px;
    margin-right: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ultimate-redirect-table .button:hover {
    background-color: #005a9e;
    color: #fff;
}

/* Smaller screens: 768px and below */
@media (max-width: 768px) {
    .ultimate-redirect-table th,
    .ultimate-redirect-table td {
        padding: 8px;
        font-size: 12px;
    }

    .ultimate-redirect-table .button {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* Extra-small screens: 480px and below */
@media (max-width: 480px) {
    .ultimate-redirect-table th,
    .ultimate-redirect-table td {
        font-size: 11px;
        padding: 6px;
    }

    .ultimate-redirect-table th, .ultimate-redirect-table td {
        display: block;
        width: 100%;
    }

    .ultimate-redirect-table th {
        background-color: #f1f1f1;
    }

    .ultimate-redirect-table .button {
        display: block;
        width: 100%;
        padding: 8px;
        font-size: 12px;
        margin: 5px 0;
    }
}
