#s4e-api-token-wrapper {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#s4e-api-token-wrapper label {
    font-weight: bold;
    margin-right: 10px;
}

#s4e-api-token-wrapper input {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 300px;
}

#s4e-api-token-wrapper button {
    padding: 8px 12px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#s4e-scan-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

#s4e-scan-buttons button {
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#s4e-scan-buttons button i {
    margin-right: 6px;
}

#s4e-scan-result-wrapper {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
}

#s4e-scan-result-overview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.s4e-scan-info {
    display: flex;
    width: 100%;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap;
}

.info-block {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: center;
    border-radius: 6px;
    min-width: 80px;
    width: 150px;
}

.info-block[data-type="Low"] {
    background-color: #e6f7d0;
}

.info-block[data-type="Medium"] {
    background-color: #fce8b2;
}

.info-block[data-type="High"] {
    background-color: #f5d1d1;
}

.info-block[data-type="Critical"] {
    background-color: #f3b4b4;
}



.chart-label {
    position: absolute;
    text-align: center;
}

#s4e-scan-results {
    margin-top: 20px;
}

#s4e-scan-results h3 {
    font-size: 1.5em;
}

#s4e-scan-output {
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 150px;
    overflow-y: auto;
}

.s4e-api-url-wrapper-class{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 20px;

}

#s4e-api-url{
    margin-left: 20px;
    width: 200px;
    text-align: center;
}

#s4e-user-info-wrapper {
    text-align: center;
    padding: 40px;
}

#s4e-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 0; /* Remove the gap between the buttons and box */
    gap: 0; /* No gap between buttons */
    border: 2px solid #ddd; /* Add a border around the entire button set */
    border-radius: 8px 8px 0 0; /* Rounded top corners to match the box below */
    overflow: hidden; /* Ensure the buttons stay inside the border radius */
}

.s4e-tab-button {
    flex: 1; /* Make all buttons equal width */
    padding: 12px 20px;
    background-color: #62B6F0; /* Original light blue color */
    color: white;
    border: none; /* Remove individual button borders */
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.s4e-tab-button:hover {
    background-color: #358AC0;
    transform: translateY(-2px); /* Slight lift on hover */
}


.s4e-tab-button:not(:last-child) {
    border-right: 1px solid #ddd; /* Create a separator line between buttons, except the last */
}

.s4e-tab-button.active {
    background-color: #4292D4; /* Slightly darker blue for active tab */
}

.s4e-tab-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(98, 182, 240, 0.5); /* Soft focus outline */
}

.s4e-tab-content {
    padding: 30px;
    border: 2px solid #ddd; /* Match border style with the button set */
    border-radius: 0 0 8px 8px; /* Rounded bottom corners to connect visually */
    border-top: none; /* Remove top border to seamlessly connect with buttons */
    min-height: 410px;
    background-color: #F9FAFB;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    margin: 0 auto;
    text-align: center;
}

#s4e-clear-token {
    margin-top: 20px;
}

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

.clickable-row {
        cursor: pointer;
    }

    /* Ensure action buttons are above the row */
    .action-button {
        position: relative;
        z-index: 2;
    }

    /* Optional: Highlight the row on hover */
    .clickable-row:hover {
        background-color: #f1f1f1;
    }

    /* styles.css */

/* Hover effect for scan table rows */
.hover-highlight:hover {
    background-color: #f1f1f1; /* Light gray background on hover */
}

/* Optional: Change cursor to pointer to indicate clickable rows */
.hover-highlight {
    cursor: pointer;
}
