/**
 * Admin Styles
 *
 * @package LinkVisitCounter
 */

body {
    background: #1b1d21;
}

.wrap {
    min-height: calc(100vh - 32px);
    padding: 20px;
    background: #1b1d21;
    color: #f3f4f6;
}

.wrap h1,
.wrap h2 {
    margin-bottom: 18px;
    color: #f3f4f6;
    font-weight: 600;
}

.wrap h2 {
    margin-top: 30px;
    font-size: 22px;
}

.form-table th {
    color: #f3f4f6;
    font-weight: 600;
}

.form-table td {
    color: #d1d5db;
}

.form-table input[type="url"],
.form-table input[type="text"],
.form-table input[type="search"] {
    width: 100%;
    max-width: 450px;
    padding: 10px 14px;
    background: #25282d;
    color: #f3f4f6;
    border: 1px solid #343942;
    border-radius: 8px;
    box-shadow: none;
}

.form-table input[type="url"]:focus,
.form-table input[type="text"]:focus,
.form-table input[type="search"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px #3b82f6;
    outline: none;
}

.form-table input::placeholder {
    color: #9ca3af;
}

.widefat {
    background: #25282d;
    border: 1px solid #343942 !important;
    border-radius: 0;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.widefat thead th {
    padding: 14px 16px;
    background: #2e3238;
    color: #ffffff !important;
    border-bottom: 1px solid #343942;
}

.widefat tbody td {
    padding: 14px 16px;
    color: #d1d5db;
    background: #25282d;
    border-bottom: 1px solid #343942;
}

.widefat tbody tr:last-child td {
    border-bottom: none;
}

.widefat.striped > tbody > :nth-child(odd) {
    background: #25282d;
}

.widefat.striped > tbody > :nth-child(even) {
    background: #2b2f35;
}

.widefat tbody tr:hover td {
    background: #32363d;
}

.widefat a {
    color: #60a5fa;
    text-decoration: none;
    word-break: break-all;
}

.widefat a:hover,
.widefat a:focus {
    color: #93c5fd;
    text-decoration: underline;
}

.button-primary {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.button-primary:hover,
.button-primary:focus {
    background: #2563eb !important;
    border-color: #2563eb !important;
}

.button-secondary,
.button.secondary {
    background: #25282d !important;
    border-color: #343942 !important;
    color: #f3f4f6 !important;
    box-shadow: none !important;
}

.button-secondary:hover,
.button-secondary:focus,
.button.secondary:hover,
.button.secondary:focus {
    background: #32363d !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.button.delete {
    background: #dc2626 !important;
    border-color: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.button.delete:hover,
.button.delete:focus {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #ffffff !important;
}

.notice,
.updated,
.error {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.tablenav {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 25px;
}

.tablenav-pages {
    display: flex;
    justify-content: center;
}

.tablenav-pages .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    padding: 0;
    background: #25282d;
    border: 1px solid #343942;
    border-radius: 8px;
    color: #d1d5db;
    text-decoration: none;
    font-weight: 500;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.tablenav-pages .page-numbers:hover,
.tablenav-pages .page-numbers:focus {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
}

.tablenav-pages .page-numbers.current {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    cursor: default;
}

.tablenav-pages .page-numbers.dots {
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    color: #9ca3af;
}

.tablenav-pages .prev,
.tablenav-pages .next {
    font-size: 18px;
    font-weight: 600;
}