.fooconvert-dashboard-container {
    margin-left: -20px;
}

.fooconvert-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 1032px;
    margin: 20px auto 0;
    padding: 0 20px;
}

.fooconvert-dashboard-heading {
    margin: 0;
}

.fooconvert-dashboard-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1032px;
    margin: 0 auto;
    justify-content: space-between;
}

.fooconvert-dashboard-column {
    width: calc(50% - 12px);
    margin: 0;
    align-self: flex-start;
}

.fooconvert-dashboard-left {
}

.fooconvert-dashboard-right {
}

.fooconvert-panel {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 20px;
}

.fooconvert-panel-section {
    border-bottom: 1px solid #e0e0e0;
    padding: 5px 10px;
}

.fooconvert-panel-section.fooconvert-panel-no-padding {
    padding: 0;
}

.fooconvert-panel-section.fooconvert-panel-no-bottom-border {
    border-bottom: none;
    padding-bottom: 0;
}

.fooconvert-panel-section.fooconvert-panel-no-padding .spinner {
    margin: 10px;
}

.fooconvert-panel-section.fooconvert-panel-no-padding .fooconvert-padding {
    padding: 5px 10px;
}

.fooconvert-panel-section-flex {
    display: flex;
    justify-content: space-between; /* Ensures spacing between child elements */
    align-items: center; /* Vertically aligns the elements */
}

.fooconvert-panel-section-right {
    display: flex;
    align-items: center; /* Keeps the label and select vertically aligned */
    justify-content: flex-end; /* Positions the content to the right */
}

.fooconvert-panel-section-right label {
    display: flex;
    align-items: center; /* Ensures the label and select are aligned */
}

.fooconvert-panel-section-right select {
    margin-left: 8px; /* Adds spacing between the label text and the dropdown */
}

.fooconvert-panel-section h2 {
    margin-bottom: 8px;
    margin-top: 8px;
}

.fooconvert-panel .fooconvert-last {
    margin-bottom: 0;
}

.fooconvert-center {
    text-align: center;
}

.fooconvert-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fooconvert-panel .spinner {
    float: none;
    margin: 0;
}

.fooconvert-panel .spinner.panel-hide-spinner {
    margin: 0;
}

.fooconvert-hide-panel {
    text-decoration: none;
}

ol.fooconvert-ordered-list {
    counter-reset: item;
    list-style: none;
    margin-left: 5px;
}

ol.fooconvert-ordered-list li {
    counter-increment: item;
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
    display: flex;
    align-items: center;
    height: 30px;
}

ol.fooconvert-ordered-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-color: #2271b1;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.fooconvert-dashboard-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    overflow: hidden;
}

.fooconvert-dashboard-table th,
.fooconvert-dashboard-table td {
    padding: 10px;
    text-align: left;
}

.fooconvert-dashboard-table tbody tr:nth-child(odd) {
    background: #fcfcfc;
}

.fooconvert-dashboard-table tbody tr {
    transition: background-color 0.3s ease;
}

.fooconvert-dashboard-table tbody tr:hover {
    background: #fafafa;
}

.fooconvert-recent-updated-table {
    table-layout: fixed;
}

.fooconvert-recent-updated-table .modified {
    width: 95px;
    white-space: nowrap;
}

.fooconvert-top-performers-table th:nth-child(1),
.fooconvert-top-performers-table td:nth-child(1) {
    text-align: left;
    width: 20px;
}

.fooconvert-top-performers-table {
    table-layout: fixed;
}

.fooconvert-top-performers-table th:nth-child(3),
.fooconvert-top-performers-table td:nth-child(3) {
    text-align: right;
    white-space: nowrap;
    width: 50px;
}

.fooconvert-top-performers-title-cell {
    min-width: 0;
}

.fooconvert-top-performers-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.fooconvert-top-performers-title {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fooconvert-top-performers-table .fooconvert-dashboard-pill,
.fooconvert-top-performers-table .fooconvert-dashboard-table-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

.fooconvert-top-performers-table .fooconvert-dashboard-pill {
    margin: 0;
}

.fooconvert-dashboard-title-cell {
    min-width: 0;
}

.fooconvert-dashboard-title-row {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.fooconvert-dashboard-title {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fooconvert-dashboard-title-row .fooconvert-dashboard-pill,
.fooconvert-dashboard-title-row .fooconvert-dashboard-table-actions {
    flex: 0 0 auto;
    white-space: nowrap;
}

.fooconvert-dashboard-title-row .fooconvert-dashboard-pill {
    margin: 0;
}

.fooconvert-dashboard-table-actions {
    visibility: hidden;
    display: inline-flex;
    gap: 4px;
    margin-left: 5px;
    vertical-align: middle;
}

.fooconvert-dashboard-table tr:hover .fooconvert-dashboard-table-actions {
    visibility: visible;
}

.fooconvert-dashboard-table a {
    text-decoration: none;
}

.fooconvert-dashboard-table-amount {
    text-align: right;
    white-space: nowrap;
}

.fooconvert-tooltip {
    color: #aaa;
}

.fooconvert-dashboard-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #888;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 0 5px;
    min-height: 20px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.fooconvert-dashboard-pill-row {
    margin-top: 4px;
}

/* Top-level container for the slider */
.fooconvert-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Slider wrapper for horizontal alignment */
.fooconvert-slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%; /* Adjust based on number of slides (e.g., 200% for 2 slides, 300% for 3) */
}

/* Individual slide styling */
.fooconvert-slide {
    flex: 0 0 50%; /* Each slide takes up the full width of the slider */
    padding: 10px;
    box-sizing: border-box;
}

/* Reduce addon header size */
.fooconvert-slide h3 {
    margin-top: 0;
    font-size: 16px; /* Reduce font size */
    color: #2271b1;
}

/* Bold description text */
.fooconvert-slide p strong {
    font-weight: bold;
    color: #444;
}

/* Adjust navigation buttons inside header */
.fooconvert-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fooconvert-slider-nav {
    gap: 10px; /* Space between buttons */
    display: none;
}

.fooconvert-slider-nav button.button.button-small {
    min-height: 25px;
    line-height: inherit;
    padding: 0;
}

.fooconvert-slider-prev:hover,
.fooconvert-slider-next:hover {
    background: #005a9c; /* Darker shade on hover */
}

/* PRO Features Offer Panel Styles */
.fooconvert-pro-offer {
    background: rgba(0, 123, 255, 0.05);
    border: 1.5px solid rgba(0, 123, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0,123,255,0.03);
    border-radius: 10px;
    margin: 16px;
    padding: 10px 10px 16px;
    text-align: center;
    max-width: 480px;
}

.fooconvert-pro-offer-title {
    color: #0d6efd;
    margin-top: 8px;
    font-size: 1.2em;
    font-weight: 600;
}

.fooconvert-panel-section-offer a.button-primary {
    background: #0d6efd;
}

@media (max-width: 768px) {
    .fooconvert-dashboard-container {
        flex-direction: column;
        margin-left: -10px;
    }

    .fooconvert-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fooconvert-dashboard-columns {
        gap: 0;
    }

    .fooconvert-dashboard-column {
        width: 100%;
    }
}
