.website_checkups * {
    box-shadow: none !important;
}

.website_checkups .center_container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100%;
    flex-direction: column;
    line-height: normal !important;
}

.website_checkups select.disabled, .website_checkups select:disabled {
    background: #e9ecef !important;
}

.website_checkups select {
    max-width: none;
}

.website_checkups input[role="switch"] {
    height: 40px !important;
    background-repeat: no-repeat;
    min-width: 70px;
}

.website_checkups .card {
    max-width: none;
    padding: 0;
}

.website_checkups .card * {
    font-size: 14px !important;
}

.website_checkups .center_container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    width: 100%;
    flex-direction: column;
    line-height: normal !important;
}

.navbar-nav {
    font-size: 14px;
}

#element_setting_invoice_info, #element_setting_invoice_info span {
    font-size: 25px !important;
}

.website_checkups .first_column {
    width: 30px;
}

.website_checkups .first_column input {
    top: -2px;
    position: relative;
}

.website_checkups .date_column{
    min-width: 170px;
}

.website_checkups .last_column {
    width: 100px;
    text-align: center !important;
    vertical-align: middle !important;
}

.website_checkups .modal-dialog * {
    font-size: 14px;
}

.website_checkups .icon_info {
    cursor: pointer;
}

.website_checkups .icon_info::after {
    content: url("../img/info_icon.svg");
}

.website_checkups .tick_mark::after {
    content: url("../img/check-mark.png");
}

.website_checkups .close_mark::after {
    content: url("../img/close-mark.png");
}
.website_checkups .warn_mark::after {
    background-size: 22px 22px;
    display: inline-block;
    width: 22px;
    height: 22px;
    content: url("../img/caution-mark.svg");
}
.status_ok {
    content: url("../img/check-mark.png");
}
.status_warn {
    content: url("../img/caution-mark.svg");
}
.status_err {
    content: url("../img/close-mark.png");
}
#lastCheckupStatus {
    margin-left: 20px;
    width: 18px;
    height: 18px;
}

.website_checkups .btn_block {
    color: #a7aaad;
    font-size: 13px;
    padding: 2px 0 0;
    position: relative;
    left: -9999em;
}

.website_checkups tr:hover .btn_block {
    position: static;
}

/* Dashboard table row click-to-navigate hover effect */
.website_checkups #tbl_dashboard_last_failure_list tbody tr:hover,
.website_checkups #tbl_dashboard_last_checkup_list tbody tr:hover {
   background-color: rgba(13, 110, 253, 0.08);
   cursor: pointer;
}

.website_checkups .btn_block ul, .website_checkups .btn_block ul li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.website_checkups .btn_block ul li {
    display: inline-block;
    position: relative;
}

.website_checkups .btn_block ul li::after {
    content: " | ";
}

.website_checkups .btn_block ul li:last-child::after {
    display: none;
}

.website_checkups .btn_block ul li a {
    font-size: 12px !important;
    text-decoration: none;
}

.website_checkups label span {
    color: red;
    margin-left: 5px;
}
.website_checkups .graphics{
    display: block;
    width: 100% !important;
    min-height: 300px;
    margin-bottom: 1.5rem;
}

.website-checkups_page_checkup_results_menu .graphics {
    height: 400px;
}
.website-checkups_page_dashboard_menu .graphics {
    height: 550px;
}

.website_checkups .graphics .failures, .website_checkups .graphics .availability {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #0f81a1;
}

.website_checkups .graphics .failures:hover, .website_checkups .graphics .availability:hover {
    cursor: pointer;
    opacity: .9;
    font-weight: bolder;
}

.website_checkups table {
    display: inline-table !important;
}

/* ===================================
   CALENDAR STYLES (wiederverwendbar)
   =================================== */

.website_checkups .calendar-chart {
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    max-width: 100%;
    position: relative;
}

.website_checkups .weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 0.25rem;
}

.website_checkups .weekday-header {
    text-align: center;
    font-weight: 600;
    color: #6c757d;
    padding: 4px 2px;
    font-size: 0.75rem;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.website_checkups .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 1px;
    min-height: 240px;
}

.website_checkups .calendar-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
    position: relative;
    font-size: 0.75rem;
    padding: 2px;
    min-height: 36px;
    cursor: default;
}

.website_checkups .calendar-day:hover {
    background-color: #f8f9fa;
}

.website_checkups .calendar-day.other-month {
    color: #ccc;
    background-color: #f8f9fa;
}

.website_checkups .calendar-day.outside-timespan {
    background-color: #fafafa;
    opacity: 0.5;
}

.website_checkups .calendar-day.has-data {
    border-width: 2px;
    cursor: pointer;
}

.website_checkups .calendar-day.has-data:hover {
    border-color: #007bff;
}

.website_checkups .calendar-day.all-success {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.1);
}

.website_checkups .calendar-day.has-failures {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.1);
}

.website_checkups .day-number {
    font-weight: 600;
    line-height: 1;
    margin-bottom: 2px;
}

.website_checkups .checkup-stats {
    display: flex;
    gap: 2px;
    font-size: 0.6rem;
    margin-top: 1px;
}

.website_checkups .success-count {
    background-color: #28a745;
    color: white;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.55rem;
}

.website_checkups .failed-count {
    background-color: #dc3545;
    color: white;
    padding: 1px 2px;
    border-radius: 2px;
    font-weight: 600;
    font-size: 0.55rem;
}

.website_checkups .calendar-day.other-month .checkup-stats {
    display: none;
}

/* Responsive Calendar */
@media (max-width: 991.98px) {
    .website_checkups .calendar-days {
        min-height: 200px;
    }

    .website_checkups .calendar-day {
        min-height: 30px;
        padding: 1px;
    }
}
.calendar-service-list {
    text-align: left;
    font-size: 0.85rem;
    max-width: 300px; /* Breiter für längere Namen */
    min-width: 200px; /* Mindestbreite für Konsistenz */
}

/* Einzelne Service-Zeile mit Ellipsis */
.calendar-service-list .service-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.calendar-service-list .service-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-service-list .service-uptime {
    flex-shrink: 0; /* Uptime-Prozent bleibt immer sichtbar */
    font-weight: 600;
}

/* Bootstrap Tooltip-Container breiter machen */
.tooltip-inner {
    max-width: 320px !important; /* Standard ist 200px */
    text-align: left;
}

.website_checkups .fs-5 {
    font-size: 20px !important;
}

.website_checkups .checkup_details {
    font-weight: 700;
}

.website_checkups .checkup_details span {
    position: relative;
    font-weight: 400;
}

.website_checkups .checkup_details span::before {
    content: ':';
    margin: 0 10px 0 5px;
}

.website_checkups .checkup_details.list-group {
    border: none;
}

.website_checkups .checkup_details.list-group .list-group-item {
    border-left: none;
    border-right: none;
}

.website_checkups .checkup_details.list-group .list-group-item:first-child {
    border-top: none;
}

.website_checkups .checkup_details.list-group .list-group-item:last-child {
    border-bottom: none;
}

.website_checkups #toast_holder {
    z-index: 999999;
    position: fixed;
}

.website_checkups #checkup_results_list {
    list-style-type: square;
    padding-left: 10px;
    font-size: 14px;
}

.website_checkups #checkup_results_list li {
    position: relative;
    margin-bottom: 10px;
}

.website_checkups #checkup_result_list li strong {
    margin-right: 5px;
    position: relative;
}

.website_checkups #checkup_result_list li strong::after {
    content: ':';
}


/* ANIMATION */
@keyframes shake {
    20%, 60% {
        transform: translateX(-5px);
    }
    40%, 80% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}
/* ANIMATION */

/* LOADER */
.website_checkups .no_scroll{
    overflow: hidden;
}

.website_checkups .loader {
    position: fixed;
    left: 160px;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-size: 24px;
    color: #333;
    opacity: 1;
    font-family: Arial, sans-serif;
    transition: opacity 0.2s ease-out;
}

.website_checkups .loader.transparent_bg {
    background: rgba(255, 255, 255, 0.9);
}

.website_checkups .loader.fade-out {
    opacity: 0;
}

.website_checkups .loader_block {
    position: relative;
}
/* LOADER */

.website_checkups .slide {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.website_checkups .slide-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.website_checkups .slide-item {
    flex: 1 0 33.3333%;
    box-sizing: border-box;
    padding: 0 20px;
}
/* SLIDER */

#switch_setting_subscription_auto_renew{
    background: white !important;
}


#toplevel_page_website_checkups_menu .wp-submenu{
    display: flex;
    flex-direction: column-reverse;
    list-style: decimal;
    counter-reset: reversed-counter;
}

.website_checkups td input[type="checkbox"], div input[type="checkbox"] {
    top: 9px;
    position: relative;
}

.website_checkups .col_switch .invalid-feedback{
    top: 15px;
    position: relative;
}

.website_checkups .nav-item{
    margin: 0;
}

.website_checkups .form-check input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23fff%27%2F%3E%3C%2Fsvg%3E");
}

.website_checkups .form-check.form-switch input[type="checkbox"]:checked::before {
    content: none !important;
}

fieldset .invalid-feedback{
    font-size: 90% !important;
}


.website_checkups .multiple {
    height: 150px !important;
}

.website_checkups .slick-slide {
    height: auto !important;
}

.website_checkups #slider_controller {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.website_checkups .slick-track{
    display: flex !important;
}
.website_checkups .slick-slide{
    max-width: 790px !important;
}

.tool_tip{
    position: relative;
}
.tool_tip:hover::after {
    content: attr(data-tooltip); /* Displays the tooltip text from the data-tooltip attribute */
    position: absolute;/* Adjusts tooltip position */
    left: 35%;
    top: -30px;

    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
    z-index: 10;
    opacity: 1;
    pointer-events: none;
}

.tool_tip:hover::after {
    opacity: 1;
}

.tool_tip:not(:hover)::after {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.website_checkups .logo {
    margin-left: auto;
    margin-right: auto;
    width: 120px;
}

.website_checkups .logo_white::after {
    content: url("../img/logo_white.svg");
}

.website_checkups .large_txt{
    font-size: 20px !important;
}
.btn-secondary.active {
    background: #ffcd39;
    color: #000;
}
#navCharts {
    font-weight: 500;
    margin-top: 10px;
}
#navCharts select {
    margin-left: 10px;
}
canvas.doughnut {
    max-width: 300px;
    max-height: 300px;
    margin-left: auto;
    margin-right: auto;
}
#summary {
    min-height: 220px;
}
/* Checkup Details Status Header */
#checkup_status_text {
    font-weight: 600;
}

#checkup_status_text.text-success {
    color: #28a745 !important;
}

#checkup_status_text.text-warning {
    color: #ffc107 !important;
}

#checkup_status_text.text-danger {
    color: #dc3545 !important;
}

/* Error Alert Styling */
#block_checkup_error_alert {
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

#block_checkup_error_alert strong {
    color: #721c24;
}

#block_checkup_error_alert span {
    color: #721c24;
}

/* Offline Since Container */
#block_offline_since_container {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

#block_offline_since_container strong {
    color: #721c24;
}

#block_offline_since_container span {
    color: #721c24;
}

/* Performance Indicator */
.performance-better {
    color: #28a745 !important;
    font-weight: bold;
    margin-left: 0.25rem;
}

.performance-worse {
    color: #dc3545 !important;
    font-weight: bold;
    margin-left: 0.25rem;
}

.performance-indicator {
    font-size: 0.875rem;
}

/* Granularity Controls */
.chart-navigation {
    margin-bottom: 10px;
    max-width: 100%;
    overflow: visible;
}
.granularity-controls-wrapper {
    text-align: right;
    flex-shrink: 0;
}

.month-navigation-wrapper {
    flex-shrink: 0;
}

.month-navigation-wrapper .calendar-nav-btn {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    min-width: 32px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.month-navigation-wrapper .calendar-nav-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.month-navigation-wrapper .calendar-nav-btn:disabled {
    opacity: 0.3;
}

.calendar-chart-wrapper {
    padding: 0;
    min-height: 320px;
}

.calendar-chart-wrapper .calendar-chart {
    max-width: 100%;
    padding: 0.5rem;
}

.calendar-chart-wrapper .calendar-header {
    margin-bottom: 0.5rem;
}

.calendar-chart-wrapper .calendar-days {
    min-height: 220px;
}

.calendar-chart-wrapper .calendar-day {
    min-height: 32px;
}

/* Hide calendar wrapper completely when not in use */
.calendar-chart-wrapper {
    display: none;
}

.calendar-chart-wrapper.active {
    display: block;
}

#dropdown_chart_type {
    width: auto;
    min-width: 150px;
}

.granularity-btn {
    padding: 4px 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    cursor: pointer;
    min-width: 38px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.granularity-btn:hover:not(:disabled) {
    background-color: #f0f0f1;
    border-color: #0073aa;
}

.granularity-btn.active {
    background-color: #2271b1;
    border-color: #2271b1;
    color: #fff;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.granularity-btn.active .dashicons {
    color: #fff;
}

.granularity-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
    color: #646970;
}

.granularity-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f6f7f7;
}

.granularity-controls-wrapper {
    text-align: right;
}
/* Dashboard Monitored Services Stats */
.website_checkups .summary-chart-container {
    min-height: 200px;
    position: relative;
}

.website_checkups .stats-summary {
    background: #f8f9fa;
    border-radius: 0.375rem;
    padding: 12px;
    border: 1px solid #dee2e6;
}

.website_checkups .stat-item {
    text-align: center;
}

.website_checkups .stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.website_checkups .stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.website_checkups .stat-clickable {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

.website_checkups .stat-clickable:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.website_checkups .stat-clickable:active {
    transform: scale(0.98);
}

.website_checkups .last-updated {
    text-align: center;
}

.website_checkups #btn-refresh-dashboard {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
}

.website_checkups #btn-refresh-dashboard .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.website_checkups #btn-refresh-dashboard:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.website_checkups #btn-refresh-dashboard.refreshing .dashicons {
    animation: spin-dashboard 1s linear infinite;
}

@keyframes spin-dashboard {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.website_checkups .text-success {
    color: #28a745 !important;
}

.website_checkups .text-warning {
    color: #ffc107 !important;
}

.website_checkups .text-danger {
    color: #dc3545 !important;
}

/* Smooth transitions for expand/collapse */
#dropdown_checkup_notification_list {
    transition: all 0.3s ease;
}

/* Helper text styling */
.notification-helper-text {
    font-size: 0.875rem;
    color: #6c757d;
    padding: 0.5rem 0;
}

.notification-helper-text i {
    font-size: 1rem;
    vertical-align: middle;
}

/* ===================================
   SUPPORT TICKET CONVERSATION STYLES
   =================================== */

.website_checkups .reply-header {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
}

.website_checkups .reply-header strong {
    color: #1976d2;
}

.website_checkups .reply-content {
    background-color: #f8f9fa;
    border-left: 4px solid #dee2e6;
}

.website_checkups .original-content {
    background-color: #ffffff;
    border-left: 4px solid #6c757d;
}

.website_checkups .reply-separator {
    height: 2px;
    background: linear-gradient(to right, #dee2e6, #f8f9fa, #dee2e6);
}

.website_checkups #support_conversation pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: inherit;
    margin: 0;
}

.website_checkups #support_conversation .card-body {
    overflow: hidden;
}