/* ultimate-404-style.css */
.notice{
    display: none !important;
}
.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;
    }
}
/* Style for the Manual Redirect Table heading */
.h3-manual-redirect-table {
    margin-top: 20px; /* Add some space above the heading */
    margin-bottom: 15px; /* Add some space below the heading */
    font-size: 1.5em; /* Slightly larger font size */
    font-weight: bold; /* Bold text for emphasis */
    color: #333; /* Dark color for better contrast */
}

/* Style for the redirect table */
.ultimate-redirect-table {
    margin-top: 20px;
    width: 100%;
    border-collapse: collapse; /* Collapse borders for a cleaner look */
}

.ultimate-redirect-table th, .ultimate-redirect-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.ultimate-redirect-table th {
    background-color: #f4f4f4;
    font-weight: bold;
    color: #333;
}

.ultimate-redirect-table td {
    background-color: #fff;
}

/* Style for the action buttons */
.button {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.9em;
    margin-right: 5px;
    border-radius: 3px;
}

.button:hover {
    background-color: #005177;
}

/* Edit and Save buttons */
.edit-row, .save-row {
    display: none; /* Hide these buttons initially */
}

.edit-row {
    background-color: #f0ad4e;
}

.save-row {
    background-color: #5cb85c;
}

.delete-row {
    background-color: #d9534f;
}

/* Input fields inside table cells */
.edit-source-url, .edit-destination-url, .edit-redirect-type {
    display: none; /* Hide these inputs initially */
    width: calc(100% - 20px); /* Take up full width minus padding */
    padding: 3px;
    box-sizing: border-box;
}
/*Pagination*/
.ultimate404-tablenav-pages {
    margin: 40px 0;
    text-align: center;
}
.ultimate404-tablenav-pages ul {
    display: flex;
    justify-content: center;
}

.ultimate404-tablenav-pages a {
    
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    margin-right: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.ultimate404-tablenav-pages a:hover {
    background-color: #005177;
}

.ultimate404-tablenav-pages .current {
    margin: 0 5px;
    padding: 5px 10px;
    background-color: #f1f1f1;
    color: #555;
    border-radius: 4px;
    border: none;
    padding: 8px 12px;
    font-size: 16px;
    margin-right: 5px;
}
 .fancy-redirect-button {
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
} .fancy-redirect-button :hover {
    background-color: #005177;
}