/* Enhanced Tools Page Design */
.tools-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.tools-header h2 {
    margin-bottom: 12px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 600;
}

.tools-description {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.tools-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.validation-form {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #ffffff;
}

.input-group input[type="email"]:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.input-group input[type="email"]::placeholder {
    color: #9ca3af;
}

/* New Validate Button Design */
.validate-btn {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    height: 44px;
    width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.validate-btn:hover:not(:disabled) {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.validate-btn:active {
    transform: translateY(0);
}

/* Admin: compact Save Changes buttons on Settings/Translate */
.toplevel_page_debounce_email_validator .wrap .submit {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.toplevel_page_debounce_email_validator .wrap .submit .button.button-primary {
    min-width: auto;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}

/* Loading state + spinner for submit buttons */
.toplevel_page_debounce_email_validator .db-btn-spinner {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.toplevel_page_debounce_email_validator .button-primary.is-loading + .db-btn-spinner {
    display: inline-block;
}
.toplevel_page_debounce_email_validator .button-primary.is-loading {
    color: transparent;
}
.toplevel_page_debounce_email_validator .db-btn-spinner .dashicons {
    animation: db-spin 1s linear infinite;
}
@keyframes db-spin {
    100% { transform: rotate(360deg); }
}

.validate-btn:disabled {
    background: #6b7280;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-text {
    transition: opacity 0.2s ease;
}

.btn-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}

.spinner-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

/* Loading state */
.validate-btn.loading .btn-text {
    opacity: 0;
}

.validate-btn.loading .btn-spinner {
    opacity: 1;
    visibility: visible;
}

.validation-results {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
}

.message-area {
    padding: 0 0 16px 0;
    min-height: 20px;
    color: #6b7280;
    font-size: 14px;
}

.results-container {
    padding: 20px;
}

.results-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.results-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.results-list li {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
}

.results-list li:last-child {
    margin-bottom: 0;
}

.results-table-wrapper {
    position: relative;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
}

.results-table th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #e5e7eb;
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.results-table td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    font-size: 14px;
}

.results-table tbody tr:nth-child(odd) {
    background: #f9fafb;
}

.results-table tbody tr:hover {
    background: #f3f4f6;
}

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

.no-results-message {
    background: #f9fafb;
    border: 1px dashed #d1d5db;
    color: #6b7280;
    text-align: center;
    font-style: italic;
    padding: 20px;
    border-radius: 8px;
    margin-top: 0;
}

/* Enhanced status styling for results */
.results-list li .dbgreen {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #065f46;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 4px;
}

.results-list li .dbred {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 4px;
}

/* Responsive design for tools page */
@media only screen and (max-width: 768px) {
    .tools-header {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .tools-header h2 {
        font-size: 20px;
    }
    
    .validation-form {
        padding: 20px;
    }
    
    .input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .input-group input[type="email"] {
        width: 100%;
    }
    
    .validate-btn {
        width: 100%;
        justify-content: center;
    }
    
    .results-container {
        padding: 16px;
    }
    
    .results-title {
        font-size: 16px;
    }
}

@media only screen and (max-width: 480px) {
    .validation-form {
        padding: 16px;
    }
    
    .results-container {
        padding: 12px;
    }
    
    .tools-header h2 {
        font-size: 18px;
    }
    
    .tools-description {
        font-size: 14px;
    }
}

/* Modern DeBounce Admin Styles - v5.7.2 */

/* Reset and Base Styles */
h1 {
    margin-bottom: 25px !important;
    font-size: 28px;
    font-weight: 600;
    color: #1f2937;
}

input {
    width: 250px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s ease;
    height: 36px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Modern Card Design */
.box-area {
    background: #ffffff;
    padding: 30px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e5e7eb;
    margin-bottom: 20px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.nav-tab-wrapper > .nav-tab:first-of-type {
    margin-left: 0;
}

.box-area ul li {
    list-style-type: none;
    margin-left: 0;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* Enhanced Navigation */
.nav-tab-wrapper {
    position: relative;
    margin-bottom: 0;
    border-bottom: 2px solid #e5e7eb;
}

.nav-tab {
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 500;
    padding: 12px 20px;
    margin-right: 0;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s ease;
    position: relative;
}

.nav-tab:hover {
    background: #f3f4f6;
    color: #374151;
}

.nav-tab-active {
    background: #ffffff;
    color: #2563eb;
	border: 1px solid #e5e7eb;
	border-bottom: 2px solid #2563eb;
    margin-bottom: -2px;
}

.nav-tab-active:hover {
    background: #ffffff;
    color: #2563eb;
	border: 1px solid #e5e7eb;
	border-bottom: 2px solid #2563eb;
}

/* Remove blue focus outline on tabs */
.nav-tab:focus,
.nav-tab:focus-visible,
.nav-tab:active {
    outline: none !important;
    box-shadow: none !important;
}
.nav-tab {
    -webkit-tap-highlight-color: transparent;
}

/* Stick first card to navbar across all tabs */
.nav-tab-wrapper + .box-area {
    margin-top: 0;
    border-top: none !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.nav-tab-wrapper + form .box-area:first-child {
    margin-top: 0;
    border-top: none !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.nav-tab-wrapper + div .box-area:first-child {
    margin-top: 0;
    border-top: none !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

/* Fallbacks to ensure first content card loses its top border */
.nav-tab-wrapper ~ .box-area:first-of-type {
    border-top: none !important;
    margin-top: 0 !important;
}
.nav-tab-wrapper + * .box-area:first-child {
    border-top: none !important;
    margin-top: 0 !important;
}

/* Modern Notice Styling */
.notice {
    display: none;
}

.debounce-notice {
    display: block;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

/* Enhanced Pagination */
.page-numbers {
    border: 1px solid #d1d5db;
    font-size: 14px;
    width: 32px;
    display: inline-block;
    text-align: center;
    height: 32px;
    line-height: 30px;
    border-radius: 6px;
    margin-right: 4px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s ease;
}

.page-numbers:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.page-numbers.current {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.debounce_pagination {
    margin-top: 25px;
    float: right;
}

/* Enhanced Status Indicators */
li .dbred {
    color: #dc2626;
    font-weight: 500;
    background: #fef2f2;
    padding: 4px 8px;
    border-radius: 4px;
}

.dbmail {
    min-width: 280px;
    display: inline-block;
    font-weight: 500;
}

li .dbgreen {
    color: #059669;
    font-weight: 500;
    background: #f0fdf4;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Modern Code Blocks */
pre {
    background: #f8fafc;
    padding: 16px;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
}

/* Enhanced Section Headers */
.box-area h2 {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.form-table th {
    width: 255px;
    font-weight: 600;
    color: #374151;
}

/* Enhanced Typography */
small {
    color: #6b7280;
    font-weight: 400;
    margin-top: 6px;
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

/* Modern Logo Positioning */
.debounce_logo {
    position: absolute;
    right: 30px;
    top: 20px;
    transition: transform 0.2s ease;
}

.debounce_logo:hover {
    transform: scale(1.05);
}

/* Enhanced Chart Container */
.chartjs_wrapper {
    position: relative;
    margin: auto;
    height: 80vh;
    width: 80vw;
    background: #ffffff;
    border-radius: 0;
    padding: 20px;
    box-shadow: none;
}

.dtable {
    margin-top: 0;
}

/* Enhanced Top Text */
.db_top_text {
    max-width: 45%;
    line-height: 1.6;
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 25px;
}

/* Modern Form Layout */
.d_second_column {
    margin-left: 100px;
    display: inline-block;
    width: 260px;
    position: relative;
    font-weight: 500;
    color: #1f2937;
}

.form-table td {
    position: relative;
    padding: 16px 0;
}

/* Enhanced Headers */
h4 {
    font-size: 18px;
    margin-bottom: 16px;
    color: #1f2937;
    font-weight: 600;
}

/* Enhanced Input Fields */
.ttable input[type=text] {
    min-width: 450px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.ttable input[type=text]:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.ttable ::placeholder {
    color: #9ca3af;
}

/* Modern Button Styling */
#debounce-button-validate {
    width: auto;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none !important;
    margin-top: 0 !important;
    float: left;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    height: 36px;
    line-height: 1;
}

#debounce-button-validate:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Enhanced Loading Indicator */
#loading {
    position: relative;
    top: 4px;
    margin-left: 10px;
    display: none;
    float: left;
}

.dbsubmit {
    overflow: hidden;
    margin-top: 20px;
}

/* Enhanced Paragraphs */
p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

.about p {
    margin-bottom: 0;
    margin-top: 8px;
}

.about {
    font-size: 14px;
    line-height: 1.6;
}

.about .bullet li {
    font-size: 14px;
    list-style: disc;
    list-style-position: inside;
    margin-bottom: 8px;
    color: #4b5563;
}

/* Modern Credit Display */
.current_credit {
    font-size: 12px;
    top: -4px;
    position: absolute;
    text-align: right;
    display: inline-block;
    right: 0;
    background: #f8fafc;
    padding: 6px 25px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.current_credit>span {
    float: right;
    line-height: 21px;
}

.last_updated {
    font-size: 10px;
    right: 0;
    top: 30px;
    color: #6b7280;
    display: block;
    margin-top: -3px;
}

.current_credit br {
    display: none;
}

/* Modern Action Button */
.current_credit a {
    text-decoration: none;
    background: #2563eb;
    color: #fff;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 11px;
    border-radius: 6px;
    margin-left: 10px;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    float: right;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    height: 24px;
}

.current_credit a:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15) !important;
}

/* Inline balance card for Settings tab */
.current_credit_inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
}
.current_credit_inline .credit_loading {
    position: static;
    top: 0;
    margin-right: 4px;
    width: 20px;
    height: 20px;
    display: none;
}
.current_credit_inline .cd {
    white-space: nowrap;
}
.current_credit_inline .last_updated {
    margin-top: 0;
    position: static;
}
.current_credit_inline a {
    height: 28px;
}

/* Centered hover rotation for the refresh icon */
.current_credit_inline .get_credit {
    font-size: 20px;
    cursor: pointer;
    color: #2563eb;
    transition: transform 0.2s ease;
    transform-origin: 50% 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
.current_credit_inline .get_credit:hover {
    transform: rotate(180deg);
}
.current_credit_inline .get_credit.is-spinning {
    animation: db-spin 1s linear infinite;
}

/* Enhanced Icons */
.dashicons-image-rotate {
    font-size: 16px;
    cursor: pointer;
    color: #2563eb;
    transition: transform 0.2s ease;
    transform-origin: center;
    vertical-align: middle;
    display: inline-block;
}

.dashicons-image-rotate:hover {
    transform: rotate(180deg);
}

.credit_loading {
    width: 16px;
    top: 3px;
    position: relative;
    margin-right: 1px;
    display: none;
}

/* Enhanced Radio/Checkbox Groups */
.validation_on_zero_ballance {
    display: block;
    margin-bottom: 20px;
    font-size: 15px;
}

.vozb {
    font-weight: 500;
    margin-bottom: 12px;
    padding: 8px 0;
}

input[name=validation_on_zero_ballance] {
    position: relative;
    top: 2px;
    margin-right: 8px;
}

.nav-tab-wrapper {
    position: relative;
}

/* Enhanced Checkboxes */
input[type=checkbox] {
    position: relative;
    top: 1px;
    margin-right: 8px;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid #d1d5db;
    transition: all 0.2s ease;
    background: #ffffff;
}

input[type=checkbox]:checked {
    background: #2563eb;
    border-color: #2563eb;
}

input[type=checkbox]:checked:before {
    display: none;
}

.vozb_desc {
    color: #6b7280;
    font-size: 14px;
    max-width: 39%;
    font-weight: 400;
    line-height: 1.5;
    margin-top: 12px;
}

/* Enhanced DataTables */
.dataTables_wrapper .dataTables_length select {
    width: 60px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 4px 8px;
}

select[name=debounce-logs_length] {
    height: 32px;
    line-height: 18px;
    margin: 0 5px;
}

.logs input[type=search] {
    height: 36px;
    margin-left: 7px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
}

/* Enhanced Table Styling */
.logs th {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 2px solid #e5e7eb;
    background: #f8fafc;
    font-weight: 600;
    color: #374151;
}

.logs tfoot th {
    border-bottom: none;
}

.logs td {
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.logs table tbody tr:nth-child(odd) td:nth-child(2) {
    background: #f9fafb;
}

.logs table tbody tr:hover {
    background: #f3f4f6;
}

/* Modern Search Interface */
.logs-search {
    margin: 0 0 20px;
    display: flex;
    background: #f8fafc;
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    border: 1px solid #e2e8f0;
    align-items: center;
    gap: 12px;
}

.logs-search-chart {
    padding: 16px 20px;
}

.logs-search input {
    width: 180px;
    margin-right: 15px;
    border: 1px solid #d1d5db;
    position: relative;
    top: 2px;
    border-radius: 6px;
    padding: 8px 12px;
}

.logs-search button {
    border: none;
    background: #2563eb;
    color: #fff;
    position: relative;
    top: 2px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    height: 36px;
    line-height: 1;
}

.logs-search button:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Right-align Export button and center vertically */
.logs-search .logs-export {
    margin-left: auto;
    align-self: center;
}

.debounce_total {
    margin-top: 25px;
    float: left;
    margin-bottom: 3px;
    color: #6b7280;
    font-size: 14px;
}

.vozb_start {
    margin-top: 8px;
}

.row_start {
    padding-top: 3px !important;
}

/* Enhanced Submenu */
.submenu {
    margin: 0;
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.submenu li {
    display: inline-block;
    border: 1px solid #d1d5db;
    padding: 10px 18px;
    margin-right: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #ffffff;
    color: #6b7280;
}

.submenu li.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.submenu li:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    transition: all 0.2s ease;
}

.submenu li.active:hover {
    background: #1d4ed8;
}

.logs-chart {
    display: none;
}

.logs-chart-select-month {
    font-size: 15px;
    margin-bottom: 15px;
    margin-top: 10px;
    width: 200px;
    margin: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
}

.logs-search-chart label {
    line-height: 29px;
    margin-right: 10px;
    font-weight: 500;
    color: #374151;
}

.res label {
    font-weight: 600 !important;
}

/* Enhanced Submit Button */
.submit {
    margin-top: 25px;
}

.submit input[type="submit"] {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    height: 36px;
    line-height: 1;
}

.submit input[type="submit"]:hover {
    background: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Enhanced Form Table */
.form-table {
    border-collapse: collapse;
    width: 100%;
}

.form-table tr {
    border-bottom: 1px solid #f3f4f6;
}

.form-table tr:last-child {
    border-bottom: none;
}

.form-table th,
.form-table td {
    padding: 16px 0;
    vertical-align: top;
}

/* Enhanced Radio Buttons */
input[type=radio] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.2s ease;
}

input[type=radio]:checked {
    border-color: #2563eb;
    background: #2563eb;
}

/* Enhanced Number Input */
input[type=number] {
    width: 100px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    height: 36px;
    box-sizing: border-box;
}

/* Enhanced Select Dropdowns */
select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    background: #ffffff;
    height: 36px;
    box-sizing: border-box;
}

/* Enhanced Links */
a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Enhanced Code Elements */
code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

/* Enhanced HR */
hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 30px 0;
}

/* Enhanced Lists */
ul.bullet {
    margin-left: 20px;
}

ul.bullet li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Enhanced Status Messages */
.notice-success {
    background: #f0fdf4;
    border-color: #059669;
    color: #065f46;
}

.notice-error {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.notice-warning {
    background: #fffbeb;
    border-color: #d97706;
    color: #92400e;
}

.notice-info {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1e40af;
}

/* Enhanced Admin Notice */
#debounce-ispaid {
    background: #f0f9ff;
    border-left-color: #0ea5e9;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

#debounce-ispaid h4 {
    color: #0c4a6e;
    margin-bottom: 12px;
    font-size: 18px;
}

#debounce-ispaid p {
    color: #0369a1;
    margin-bottom: 12px;
    line-height: 1.6;
}

.dbbtn {
    margin-top: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.dbbtn1 {
    background: #2563eb;
    color: #fff;
}

.dbbtn1:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.dbbtn2 {
    background: #6b7280;
    color: #fff;
}

.dbbtn2:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.ddbtn-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: none;
    color: #dc2626;
    font-weight: 500;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.ddbtn-close:hover {
    background: #fef2f2;
    color: #b91c1c;
}

.lastp {
    margin-bottom: 12px !important;
    font-size: 13px;
    color: #6b7280;
}

/* Enhanced Responsive Design */
@media only screen and (max-width: 768px) {
    .what_to_protect {
        font-weight: bold !important;
        font-size: 16px !important;
        padding-top: 25px !important;
    }
    
    #debounce_logs_status {
        top: 8px;
    }
    
    .nav-tab {
        margin-right: 2px !important;
        font-size: 13px;
        padding: 8px 12px;
    }
    
    canvas {
        height: 400px;
    }
    
    .current_credit {
        top: -30px;
        position: relative;
        right: auto;
        margin-bottom: 20px;
    }

    h1 {
        margin-bottom: 28px !important;
        font-size: 24px;
    }

    .debounce_logo img {
        width: 120px !important;
        margin-top: 7px !important;
    }

    .db_top_text {
        max-width: 100%;
        margin-bottom: 20px;
    }

    input[type=text] {
        margin-top: 5px;
        width: 100%;
    }

    td a {
        margin-top: 7px;
        display: inline-block;
    }

    .form-table td p {
        max-width: 100% !important;
    }

    .form-table th {
        display: inline-block;
        width: 100%;
        margin-bottom: 8px;
    }

    .res td {
        float: right;
        width: 100%;
    }

    .res2 td {
        float: right;
    }

    #debounce_email_debounce_woocommerce_check {
        float: right;
        top: -55px !important;
        margin: 0;
    }

    .d_second_column {
        margin: 0;
        width: 100%;
        margin-top: 10px;
    }

    .row_start {
        float: left !important;
        margin-top: 15px;
    }

    #debounce_email_debounce_gravity_check, 
    #debounce_email_debounce_wpforms_check, 
    #debounce_email_debounce_cf7_check,
    #debounce_formidable_forms,
    #debounce_forminator_forms,
    #debounce_fluent_forms,
    #debounce_elemetor_form,
    #debounce_jetpack_forms,
    #debounce_email_debounce_ninja_check,
    #debounce_email_debounce_reg_check,
    #debounce_email_debounce_comments_check,
    #debounce_debounce_block_free_email,
    #debounce_email_debounce_rc308_check,
    #debounce_email_debounce_is_email_check,
    #debounce_jetpack_check {
        position: absolute !important;
        right: 0;
        margin: 0;
    }

    input[type=checkbox] {
        margin: 0;
        width: 20px;
        height: 20px;
    }

    #debounce_email_debounce_wpforms_check, 
    #debounce_formidable_forms, 
    #debounce_fluent_forms,
    #debounce_jetpack_forms,
    #debounce_email_debounce_reg_check, 
    #debounce_email_debounce_gravity_check,
    #debounce_jetpack_check {
        top: -45px !important;
    }

    #debounce_debounce_block_free_email {
        top: -50px !important;
    }

    .row_start2 {
        margin-top: 23px;
    }

    .row_start3 {
        margin-top: 11px;
    }

    #debounce_email_debounce_rc308_check {
        top: 9px !important;
    }

    .form-table input[type=radio] {
        width: 20px;
        height: 20px;
    }

    input[type=checkbox]:checked:before {
        width: 26px;
    }

    input[type=radio]:checked:before {
        margin: 5px;
    }

    .debounce_logo {
        display: none;
    }

    .vozb input[type=checkbox] {
        margin-right: 5px;
    }

    .box-area {
        padding: 20px;
        margin: 10px;
    }

    .ttable input[type=text] {
        min-width: 100%;
    }

    .logs-search {
        display: block;
        flex-direction: column;
        gap: 8px;
    }

    .logs-search label {
        min-width: 47px;
        display: inline-block;
    }

    .logs-search>div {
        display: block;
    }

    .logs-search button {
        top: 1px;
        padding: 10px 10px;
        width: 100%;
        margin-top: 8px;
    }

    .logs-div {
        width: 100%;
        overflow-x: scroll;
    }

    .logs-search input {
        width: 165px;
        margin-right: 10px;
    }
    
    .submenu {
        flex-direction: column;
    }
    
    .submenu li {
        text-align: center;
    }
}

@media only screen and (max-width: 370px) {
    nav .nav-tab {
        margin: 10px 2px 0 0;
    }

    .logs-search input {
        width: 165px;
        margin-right: 10px;
    }

    .nav-tab {
        font-size: 12px;
        padding: 5px 9px;
    }

    .logs-search button {
        width: 100%;
        margin-top: 15px;
    }
    
    .box-area {
        padding: 15px;
    }
    
    h1 {
        font-size: 20px;
    }
}