/* Notification Flow Dashboard Styles */
.nf-dashboard {
    max-width: 800px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nf-dashboard-title {
    margin: 0 0 10px 0;
    color: #1a1a1a;
    font-size: 24px;
    font-weight: 700;
}

.nf-dashboard-desc {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 15px;
}

.nf-prefs-table-wrapper {
    overflow-x: auto;
}

.nf-prefs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.nf-prefs-table th {
    text-align: left;
    padding: 15px;
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #eee;
}

.nf-prefs-table td {
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.nf-prefs-table tr:last-child td {
    border-bottom: none;
}

.nf-prefs-table tr:hover td {
    background-color: #fafafa;
}

.nf-col-center {
    text-align: center !important;
    width: 100px;
}

.nf-type-desc {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #888;
    line-height: 1.4;
}

/* Custom Switch Toggle */
.nf-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.nf-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.nf-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.nf-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .nf-slider {
    background-color: #007cba; /* WordPress Blue */
}

input:focus + .nf-slider {
    box-shadow: 0 0 1px #007cba;
}

input:checked + .nf-slider:before {
    transform: translateX(22px);
}

/* Feedback Toast */
.nf-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 24px;
    background: #333;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10000;
    pointer-events: none;
}

.nf-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.nf-toast.success {
    background: #46b450;
}

.nf-toast.error {
    background: #dc3232;
}

/* Responsive */
@media (max-width: 600px) {
    .nf-dashboard {
        padding: 15px;
    }
    .nf-prefs-table td {
        padding: 15px 10px;
    }
}
