@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;700&display=swap');

.wm-uptime-monitor {
    font-family: 'Plus Jakarta Sans', sans-serif;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.wm-uptime-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

/* Add custom styling for the new "Web Manuals Servers" text */
.wm-header-text {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Styling for the dropdown */
.wm-period-selector select {
    padding: 10px;
    font-size: 16px;
    background-color: white;
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Prevent light blue border when dropdown is clicked (focus state) */
.wm-period-selector select:focus {
    outline: none;
    border-color: #ccc; /* Keep the border consistent */
}

.wm-uptime-stats {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.wm-server-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

.wm-server-status:last-child {
    border-bottom: none;
}

.wm-server-name {
    font-weight: bold;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.wm-uptime-value {
    padding: 10px 15px;
    background-color: #78c65c; /* Changed background color */
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* When values are loading, normal text style without green background */
.wm-uptime-value.loading {
    background-color: transparent;
    color: black;
    font-weight: normal;
}

/* Remove dropdown box shadow and background color */
.wm-dropdown {
    width: 200px;
    padding: 10px;
    background-color: none;
    border: none;
    box-shadow: none;
}

.wm-status-perfect,
.wm-status-good,
.wm-status-warning,
.wm-status-critical {
    background-color: #78c65c; /* Set background color to #78c65c for all status types */
}

/* Grey lines between rows */
.wm-server-status {
    border-bottom: 1px solid #ddd;
}
