.eafl-admin-manage-links-clicks-container {
    width: 100%;
    display: flex;
    align-items: center;

    .eafl-admin-icon {
        margin-right: 10px;
    }

    .eafl-admin-manage-links-clicks-text {
        font-size: 10px;
        color: #666;
    }
}

.eafl-admin-table-url-container {
    display: flex;
    align-items: center;

    .eafl-admin-table-url-container-copy {
        margin-right: 5px;
    }

    a {
        font-size: 12px;
        line-height: 12px;

        overflow-wrap: break-word;
        word-break: break-all;
        white-space: normal
    }
}

// Description column styling for proper line break display
.eafl-admin-table {
    .rt-td {
        // Ensure line breaks are preserved in description cells
        br {
            display: block;
            margin: 2px 0;
            content: "";
        }
    }
}

.eafl-admin-table-html-container {
    pre {
        white-space: normal;
        font-size: 12px;
        margin: 0;
    }
}

.eafl-admin-table-amazon-product {
    display: flex;
    gap: 10px;
    align-items: flex-start;

    .eafl-admin-table-amazon-product-image {
        flex-shrink: 0;

        img {
            display: block;
            max-width: 60px;
            max-height: 60px;
            border-radius: 2px;
        }
    }

    .eafl-admin-table-amazon-product-details {
        flex-grow: 1;
        min-width: 0;
    }

    .eafl-admin-table-amazon-product-name {
        font-weight: 500;
        font-size: 12px;
        line-height: 1.3;
        margin-bottom: 3px;

        // Truncate long names
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .eafl-admin-table-amazon-product-price {
        font-size: 12px;
        font-weight: 600;
        color: #2e7d32;
        margin-bottom: 2px;
    }

    .eafl-admin-table-amazon-product-asin {
        font-size: 11px;
        color: #666;
    }
}

.eafl-admin-table-amazon-status-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.eafl-admin-table-amazon-status-row {
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1.2;

    .eafl-admin-table-amazon-status-label {
        color: #666;
        font-size: 11px;
        min-width: 80px;
    }

    .eafl-admin-table-amazon-status-type {
        border-radius: 3px;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        padding: 3px 5px;
        text-transform: uppercase;
    }

    .eafl-admin-table-amazon-status-link {
        display: inline-flex;
        line-height: 1;
        text-decoration: none;
    }

    .eafl-admin-table-amazon-status-none {
        color: #666;
        font-weight: 600;
    }

    &.status-in-stock .eafl-admin-table-amazon-status-type {
        background: #e6f4ea;
        color: #1e7e34;
    }

    &.status-out-of-stock .eafl-admin-table-amazon-status-type,
    &.status-unavailable .eafl-admin-table-amazon-status-type,
    &.status-not-found .eafl-admin-table-amazon-status-type {
        background: #fbeaea;
        color: #b42318;
    }

    &.status-preorder .eafl-admin-table-amazon-status-type,
    &.status-unknown .eafl-admin-table-amazon-status-type {
        background: #fff4d6;
        color: #8a5a00;
    }
}

.eafl-admin-table-condition-container {
    display: flex;

    strong {
        margin-right: 10px;
    }
}

.eafl-admin-table-replacement-container,
.eafl-admin-table-status-container {
    display: flex;
    align-items: center;
    
    .eafl-admin-icon {
        margin-right: 5px;
    }
}

.eafl-admin-table-agent-container {
    font-size: 12px;
    line-height: 12px;

    overflow-wrap: break-word;
    word-break: break-all;
    white-space: normal
}

.eafl-manage-image-preview {
    display: flex;

    img {
        width: 80px;
        height: auto;
        cursor: pointer;
        margin-right: 2px;
    }
}

.eafl-admin-manage-relations-post-container {
    width: 100%;
    display: flex;
    align-items: center;

    .eafl-admin-icon {
        margin-right: 5px;
    }
}
